News for hackers. Stuff that matters.
Re:Launch HN: Pynecone (YC W23) – Web Apps in Pure Python by just-tom on Thursday March 16, 2023 @03:27AM (#35179179)
Is it possible to take the optimistic approach and update the UI before getting response from the back end? Obviously for simple things, like counters, that need an immediate update to the UI.
Re:Launch HN: Pynecone (YC W23) – Web Apps in Pure Python by shrimpx on Thursday March 16, 2023 @06:56AM (#35180348)
You could designate some handlers to be “frontend-only” and then compile them to wasm or js and run them in the browser. There might be usability/ergonomics issues with having “special” functions that don’t really work like normal ones.