Open Archmonger opened 1 year ago
Currently, all JavaScript components need to be client sided.
It's feasible to run JS components server sided, such as NextJS Server Components
NextJS Server Components
Most likely, this will either require us to bundle a NodeJS server or a NextJS server within ReactPy as an optional dependency.
NodeJS
NextJS
These packages could potentially help:
react-render
python-react
v8-cffi
v8eval
dukpy
pyduktape
PyExecJS
selenium
https://react.dev/blog/2023/03/22/react-labs-what-we-have-been-working-on-march-2023#react-server-components
Ooohh! it's very good to hear that meta is pushing server side components forward. That would vastly simplify integrating it with ReactPy.
First, need an auth system on Reactpy!
Current Situation
Currently, all JavaScript components need to be client sided.
Proposed Actions
It's feasible to run JS components server sided, such as
NextJS Server Components
Most likely, this will either require us to bundle a
NodeJS
server or aNextJS
server within ReactPy as an optional dependency.These packages could potentially help:
react-render
python-react
v8-cffi
v8eval
dukpy
pyduktape
PyExecJS
selenium
executor