Replies: 2 comments 1 reply
-
i have the same exact problem |
Beta Was this translation helpful? Give feedback.
0 replies
-
Want a piece of good advice? If you're not building an MVP consider switching to another framework, GetX will bring you way more problems than you might think :) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi guys,
Little of background, on mobile apps, you get a consistent lifecycle, whether app is on background or destroyed completely when closing it. But not entirely sure on web.
As I'm working on a personal flutter web project hosting on Firebase Hosting in development phase, I'm wondering if I will need to dispose GetX controllers my self to prevent increase memory consumption on server side.
I have been googling, several mentions ways to identify when a page is being closed with methods such as:
or
I'm able to identify all GetX controllers instances as I'm putting all controllers under tag with the window.sessionStorage, only when user is already logged in.
While using GetMiddleware to make sure I got the session created.
In other words, do I need to worry of disposing GetX controllers, if the answer is yes, as my level of expertise is pretty much newbiie would like to hear your approches or advice on how to make a cleaner solution?
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions