Thomas Brandého
Thomas Brandého
> this is a bit of a dangerous API, because if the state is modified, then that is essentially thrown away (unless in dev mode). > > i think it...
I see. Will have to brainstorm a bit on this to figure out the ideal way.
> I prefer passing the StateManager subclass itself rather than an enum because that allows one to pass any subclass, including custom defined ones. I would be fine with this,...
> > how would it work for setting it via env var > > the developer can special case on env var they give (like if is_prod use this else...
As a note: Using StateManager classes directly in config doesn't work at the moment due to some circular dependencies.
unit-tests are passing when running them locally, I'm not sure why they fail here, especially as they are unrelated to the change in the PR.
What you wrote would work yes, but that's not the main issue. The problem is that by overriding `get_event_triggers` users may want to remove inherited event_triggers (from base Component or...
Looks like a bot, closing it.
Known workarounds for this issue: - Interrupt the app with `Ctrl+C` and run `reflex run` again. On the first run, the state data saved on disk will be removed. or...
This might be due to how this data table is redrawn. We are working on a new datatable (and other improvements) that should help with that issue, stay tuned!