Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React Renderer shouldn't read the name property of a passed in function object #870

Open
mikehearn opened this issue Aug 30, 2024 · 0 comments

Comments

@mikehearn
Copy link
Contributor

Expected Behavior

It should be possible to use React support with a fully obfuscated JS file.

Actual Behaviour

The component is looked up correctly but then the render script reflects the name instead of having it be passed in from the Java side, meaning it'll get the obfuscated name.

https://github.com/micronaut-projects/micronaut-views/blob/5.5.x/views-react/src/main/resources/io/micronaut/views/react/react.js#L11

Steps To Reproduce

No response

Environment Information

No response

Example Application

No response

Version

5.5.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant