micronaut-views
micronaut-views copied to clipboard
React Renderer shouldn't read the name property of a passed in function object
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