The last change that allowed to disable the rebuilds of Nuvigators on certain conditions highlighted a few problems with the current approach of caching the Nuvigator instance, which could cause the App to become non-responsive to other external state changes that should trigger a re-render of the Widget.
This PR aims to fix that by instead caching in the state of the NuRoute instance, and always providing it to the builder function.
The last change that allowed to disable the rebuilds of Nuvigators on certain conditions highlighted a few problems with the current approach of caching the Nuvigator instance, which could cause the App to become non-responsive to other external state changes that should trigger a re-render of the Widget.
This PR aims to fix that by instead caching in the state of the NuRoute instance, and always providing it to the builder function.