4 ms·
I went over the docs and couldn’t find anything about state management and client/server actions. I’m guessing this would be similar to LiveView? If so, I’m no
by brap 3y ago
I went over the docs and couldn’t find anything about state management and client/server actions.
I’m guessing this would be similar to LiveView? If so, I’m not sure Python will handle the concurrency as well as Elixir…
Edit: I see now that the goal is to compile this to JS, so I’m assuming it’s going to be quite the opposite of LiveView and will do everything on the client?
- kreetx 3y agoThis looks like the regular server side web framework with helpers to create html. State is (likely) managed by using the appropriate python library, or just a global variable or dict if race conditions don’t matter.
- brap 3y agoThen why compile to JS? And what happens when the client performs any actions, e.g clicks a button that should send an outgoing request either from the client or from the server?