Skip to content

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

@mikehearn

Description

@mikehearn

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions