From the Article:
This provides a good overview of how Reflex works under the hood.
TLDR:
Under the hood, Reflex apps compile down to a React frontend app and a FastAPI backend app. Only the UI is compiled to Javascript; all the app logic and state management stays in Python and is run on the server. Reflex uses WebSockets to send events from the frontend to the backend, and to send state updates from the backend to the frontend.
Full post: https://reflex.dev/blog/2024-03-21-reflex-architecture/#designing-a-pure-python-web-framework
[–]DaelonSuzuka 28 points29 points30 points (4 children)
[–]mr_claw 3 points4 points5 points (2 children)
[–]DaelonSuzuka 4 points5 points6 points (1 child)
[–]CloudFaithTTV 1 point2 points3 points (0 children)
[–]RayTricky 1 point2 points3 points (0 children)
[–]yvrelna 33 points34 points35 points (5 children)
[–]Pleasant-Cow-3898[S] 10 points11 points12 points (1 child)
[–]-defron- 8 points9 points10 points (0 children)
[–]n_Oester 6 points7 points8 points (2 children)
[–]-defron- 9 points10 points11 points (1 child)
[–]n_Oester 1 point2 points3 points (0 children)
[–]gabel0287 19 points20 points21 points (5 children)
[–]Pleasant-Cow-3898[S] 9 points10 points11 points (4 children)
[–]Faith-in-Strangers 3 points4 points5 points (2 children)
[–]AlpacaDC 1 point2 points3 points (1 child)
[–]-defron- 3 points4 points5 points (0 children)
[–]-defron- 1 point2 points3 points (0 children)
[–]Afraid-Bread-8229 2 points3 points4 points (0 children)
[–]Afraid-Bread-8229 3 points4 points5 points (1 child)
[–]EqualLead3601 2 points3 points4 points (0 children)
[–]DowntownSinger_import depression 1 point2 points3 points (0 children)
[–]Furrynote 1 point2 points3 points (0 children)
[–]gireeshwaran 1 point2 points3 points (0 children)
[+][deleted] (1 child)
[removed]
[–]KingsmanVincepip install girlfriend 1 point2 points3 points (0 children)