2 ms·
I came across something that is somewhere in the middle. Maybe a happy medium? It's a Python library called IDOM [0]. Best way I can explain it is that it is se
by kolanos 4y ago
I came across something that is somewhere in the middle. Maybe a happy medium? It's a Python library called IDOM [0]. Best way I can explain it is that it is server-side bindings for React, where state and diffs are passed back and forth for you via web sockets. You implement your components in Python with a React-like API and IDOM builds the equivalent React components for you on the client-side and then wires up your server-side state handlers. It is also web framework agnostic, works with all the most popular ASGI web frameworks in Python.
Admittedly it is still a bit raw. But seemed like a really interesting concept when I was looking for LV equivalents.
[0]: https://idom-docs.herokuapp.com/docs/index.html https://idom-docs.herokuapp.com/docs/index.html
- zem 4y agothere's also justpy, uses vue and is closer to liveview in that it generates all the frontend code for you. https://justpy.io/ https://justpy.io/