Re:Pynecone – Performant, customizable web apps in pure Python
by picklelo on Thursday May 04, 2023 @04:35PM
(#35821703)
Yeah we’re only hosting on a single region at the moment so there can be latency depending on your location. We’re working on using edge computing to speed this up.
[ Parent
| on HN ]
Re:Pynecone – Performant, customizable web apps in pure Python
by pedrosbmartins on Thursday May 04, 2023 @05:41PM
(#35822475)
is there a reason why all state is in the server? what about cases where you'd want to keep client-side state, like those strictly related to UI/UX?
(very interesting project nonetheless!)
Re:Pynecone – Performant, customizable web apps in pure Python
by picklelo on Thursday May 04, 2023 @05:56PM
(#35822649)
Keeping the state on the server allows us to run arbitrary Python code and libraries in our event handlers that update the state. Currently only the ui is compiled to React but the logic stays in Python.
We’re working to offload more logic to the client in the for purely UI operations like you mention, and in the future want to leverage wasm once it’s more mature.