malolo
malolo8mo ago

reactive state

Hello! Something seems wrong with state and linking elements. Even the provided example doesn't work. =( https://docs.marimo.io/guides/state.html#example-tied-elements https://marimo.app/l/c9jvf6
3 Replies
Akshay
Akshay8mo ago
These need to be broken across multiple cells (the docs try to convey that but maybe don't do a good job). https://marimo.app/l/eenyb1
marimo | a next-generation Python notebook
Explore data and build apps seamlessly with marimo, a next-generation Python notebook.
malolo
maloloOP8mo ago
aaahhh I missed that little note "Create tied UI elements in separate cells" I saw the counter (https://docs.marimo.io/guides/state.html#example-counter) example with everything together and just went yeeeeet thanks! =)