-
-
Notifications
You must be signed in to change notification settings - Fork 153
reloading page in web target causes state to vanish #175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
some more details from flutter team: |
This still an issue? I mean that is related to get_it? |
I guess this is more of a feature request?
I know nobody is too excited to add features like this because the web
platform seems like more of a hack from Google than a well planned thing.
…On Wed, Apr 14, 2021 at 1:27 PM escamoteur ***@***.***> wrote:
This still an issue? I mean that is related to get_it?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#175 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADE3FHWRINTSBSY4HO7YPLTIXGAVANCNFSM425LNJLA>
.
|
My point is that storing and retrieving state outside of the scope of get get it gives you the means to access your objects. |
Ok. Yes I see you like to keep packages focused on one task. Good idea.
…On Thu, Apr 15, 2021, 04:07 escamoteur ***@***.***> wrote:
My point is that storing and retrieving state outside of the scope of get
get it gives you the means to access your objects.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#175 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADE3FFZGZS372FRTTCNZDTTI2NE5ANCNFSM425LNJLA>
.
|
you are welcome to publish a package that does the job ans plugs in nicely with get_it :-) |
I will wait & see what provider or bloc will do. Also, curious what the Flutter team devises. Until then, I'll check out Navigator 2.0 & the DashCast example that was presented in the Flutter & Web prez here: https://youtu.be/HAstl_NkXl0?t=603 Alternatively, does it make sense to use get_it inside of AngularDart? |
Sure, you can use it anywhere as its pure dart |
yikes.
how can this be fixed? I'm using the whole stack here: get_it, get_it_mixin, flutter_command, functional_listener
tweet thread outlines the problem / potential solutions:
https://twitter.com/ThomasBurkhartB/status/1382301168915914755
Couldn't this persisting / rehydrating be automated in some way? Or does the lack of a cycle callback mean that the problem lies more with the flutter team to develop a general solution for handling page reloads for the flutter web framework?
The text was updated successfully, but these errors were encountered: