reactive-python / reactpy

It's React, but in Python
https://reactpy.dev
MIT License
7.85k stars 315 forks source link

Server Side JavaScript Components #1078

Open Archmonger opened 1 year ago

Archmonger commented 1 year ago

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 a NextJS server within ReactPy as an optional dependency.

These packages could potentially help:

kumaraguru1735 commented 6 months ago

https://react.dev/blog/2023/03/22/react-labs-what-we-have-been-working-on-march-2023#react-server-components

Archmonger commented 6 months ago

Ooohh! it's very good to hear that meta is pushing server side components forward. That would vastly simplify integrating it with ReactPy.

kumaraguru1735 commented 6 months ago

First, need an auth system on Reactpy!