I use actix-web on the backend and react on the frontend.
I once envisaged to render react components in rust to achieve features similar to next.js and nuxt.js.
This means that I need to call react code in rust to achieve component rendering and data fetch. But I don't know how to implement it.
I found an example: actix-web-cra-ssr. But it only implements very simple features. It does not render react components and data fetch in rust.
I look forward to implementing react ssr in rust, which will bring great changes to the web.