News for hackers. Stuff that matters.
Re:Pynecone – Performant, customizable web apps in pure Python by emmanueloga_ on Thursday May 04, 2023 @05:46PM (#35822538)
"state is just a class" brings up so many questions though. How do you serialize state if it is "just a class"? Serializing the state is useful for all sorts of things, including debugging, reloading, and saving and loading application state.

Serializing state together with some code that operates on it may be doable but sounds either complicated or brittle.

Re:Pynecone – Performant, customizable web apps in pure Python by anigbrowl on Thursday May 04, 2023 @06:02PM (#35822736)
It's not that it's the best way to do it; it's just a very straightforward articulation of their design philosophy that helps a first-time visitor know what to expect and what they might like (or not) about it.
Re:Pynecone – Performant, customizable web apps in pure Python by Rimbo on Friday May 05, 2023 @02:22AM (#35825807)
Lisp did this decades ago.