Experimenting with some typed global state and components paradigm

Recently Iโ€™ve been exploring the following way to organize my code, in a more frontend-y way, rather than the typical super tight coupling, and with as little boilerplate as possible.

Thoughts?

Now we just need a real event loop with listeners, and itโ€™ll be like React for Python :smiley:

1 Like

@komodovaran - check out Streamlit Pydantic - Playground.

1 Like