Open Ssiswent opened 2 months ago
And onPageDispose
also run twice more!!!
This was introduced by Nested Bindings. When someone directly accesses a nested route in the browser, the parent's dependencies and middleware must be loaded. However, you're right, it should only start once, so I'm going to change the api to initialize Bindings only once.
This was introduced by Nested Bindings. When someone directly accesses a nested route in the browser, the parent's dependencies and middleware must be loaded.
However, you're right, it should only start once, so I'm going to change the api to initialize Bindings only once.
Thanks, so you mean that mb next version of GetX will change this?
Yeah, definitely.
Yeah, definitely.
Thanks for your help! Btw, could you please help with this issuse? Or mb there is something wrong with my nested routes. https://github.com/jonataslaw/getx/issues/3175
With nested navigation in
example_nav2
example project, they will all run twice more.Codes:
Screenshots: