Skip to content

Reactpy under the hood #1017

Answered by Archmonger
H-G-11 asked this question in Question
Jun 7, 2023 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

You can think of reactpy as ReactJS server side rendering, except with a Python server. In order to keep things moving, we utilize an asyncio loop.

The VDOM representation of the HTML is retained server-side. When this representation changes, it is sent to the client to be rendered by ReactJS (technically Preact).

SPA functionality can be obtained by using reactpy-router.

You can find some more technical details sprinkled around the comment section of our Reddit post.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@H-G-11
Comment options

Answer selected by H-G-11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants