You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This project demonstrates how to implement **Server-Side Rendering (SSR)** of **[React.js](https://reactjs.org/)** components within a **[Micronaut](https://micronaut.io/)** application using **[GraalJS](https://www.graalvm.org/latest/reference-manual/js/)**. It uses the **[Recharts](https://recharts.org/en-US/)** library to generate interactive charts that are rendered on the server and returned as HTML.
3
+
This project demonstrates how to render [various Recharts examples](https://recharts.org/en-US/examples) in a [Micronaut](https://micronaut.io/) application.
4
+
For this, it uses the [React view feature](https://micronaut-projects.github.io/micronaut-views/latest/guide/#react) in Micronaut that enables Server-Side Rendering (SSR) of React components using [GraalJS](https://www.graalvm.org/javascript/).
4
5
5
6
## Prerequisites
6
7
7
-
Before you begin, make sure you have the following installed:
8
+
Before you begin, make sure you have the following:
Open your browser and go to [http://localhost:8080](http://localhost:8080) to view the server-rendered React charts. The charts are generated on the server and returned as HTML, providing fast initial page load and improved performance.
34
-
35
-
---
29
+
3. Open your browser and go to [http://localhost:8080](http://localhost:8080) to view the Recharts examples.
30
+
Since the charts are rendered on the server, they work even with JavaScript disabled in the browser.
0 commit comments