Skip to content

React SSR view not working OOTB with GraalVM Native Image #1036

@fniephaus

Description

@fniephaus

Expected Behavior

Build a native Micronaut app with the React SSR view and it works out-of-the-box.

Actual Behaviour

Crashes due to missing reflection (e.g., io.micronaut.views.react.ReactViewsRenderer$RenderCallback) and resource (e.g., react.js) registrations.

Steps To Reproduce

Start a new app with the React SSR feature, build it with GraalVM Native Image, and run the app.

Environment Information

No response

Example Application

No response

Version

4.8.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions