>>>>> João Assunção <[email protected]>:
> I haven't used Micronaut with OSGi myself, so I can't provide specific > guidance on that integration. However, I believe the most challenging > aspect of your project will be the React SSR requirement. You will likely > need a JavaScript engine, and Truffle/GraalJS currently appears to be the > only maintained option. Thanks! Yes, I know. > If you are considering Micronaut primarily for SSR support, you may be able > to achieve your goal without it. In theory, you could use GraalJS to run > the entry-server.js file produced by an SSR build and send the output as > the response for the initial HTTP request. Please note that routing and > data access within the React code will likely require special attention to > function correctly during server-side rendering. Indeed. FWIW I've done some experiments rendering a simple react app in GraalJS and so far I've been unable to satisfy all of the app's dependencies.
