Reflex #19
metaperl
started this conversation in
Framework Discussion: Specific
Reflex
#19
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Reflex (formerly Pynecone)
Pynecone compiles to a traditional React (NextJS flavor) app. Wrapping React components is quite straightforward. The authors had used Streamlit in the past, and found it great to get started with but for more complex apps found it limiting in terms of components, styling, and performance. In Pynecone, the frontend compiles down to a NextJS app, so you have full customizability on how the app looks. Streamlit can also be slow in some cases as it reruns the entire script on user events, whereas in Pynecone only the state deltas are transmitted. Also for performance and SEO nextjs is great.
Scalability-a-go-go!
Pynecone has excellent scalability: you can horizontally scale and connect your servers to a Redis instance so they can access the user state. The authors use FastAPI for their Python server behind the scenes for handling frontend events and sending back state deltas.
Also, when running a Pynecone app in production mode, you can use NextJS SSG to prerender the entire frontend to html.
Compared to NiceGUI
https://www.reddit.com/r/Python/comments/1b7bgwn/comment/ktn7kgd/?utm_source=share&utm_medium=web2x&context=3
Compared to Streamlit
https://www.reddit.com/r/Python/comments/1b7bgwn/comment/kti7wiq/?utm_source=share&utm_medium=web2x&context=3
Reference links
Official site - https://reflex.dev
reddit - https://www.reddit.com/r/reflex/
github - https://github.com/reflex-dev/reflex
Application Gallery
https://pynecone.io/docs/gallery
Discussion
Pynecone is now Reflex
https://www.reddit.com/r/Python/comments/zh0pmy/pynecone_web_apps_in_pure_python/
“Show HN Dec 14 2022“ - https://news.ycombinator.com/item?id=33922754
Beta Was this translation helpful? Give feedback.
All reactions