is there any state management like in flutter for flet #803
Replies: 4 comments 4 replies
-
Does https://flet.dev/docs/guides/python/session-storage work? |
Beta Was this translation helpful? Give feedback.
-
@FeodorFitsner Fantastic approach with the session-storage! Are they stored locally for that particular page and access globally as well? |
Beta Was this translation helpful? Give feedback.
-
Feodor.. after reading about Controls.. i think that's more likely to have a better similarity to flutter's state management .. don't you think? You even have the Counter App there ->by the way ... I think it could be simpler.. on one end.. by default it could update itself so that we don't have to keep writing self.update.. on the other end.. do we really need to use "self." every time? Can we just use "self." the first time ->see a crazy possible proposition at the end. . import flet as ft class Counter(ft.UserControl):
def main(page): ft.app(target=main) ------ crazy possible proposition.. class Counter(ft.UserControl): |
Beta Was this translation helpful? Give feedback.
-
Would there be any other options, such as Bloc or Riverpod ? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to manage my state for several pages, is there any state management or anything to manage state thanks
Beta Was this translation helpful? Give feedback.
All reactions