Dont create pages' data-context until navigation #1153
Labels
kind/consumer-experience
Categorizes issue or PR as related to improving the experience of consumers
kind/enhancement
New feature or request.
kind/performance
Categorizes issue or PR as related to improving performance (allocations/memory/init/etc)
kind/sample
Represents an issue or PR with a sample
What would you like to be added:
We are currently instantiating all data-contexts, that we ever need, the moment we are launching the app...
This should've delayed until the navigation actually occurs; build one as we need, and not the whole batch.
Why is this needed: general performance
For which Platform: any
Anything else we need to know?
This should also fix the problem of, data-context being shared between navigation.
Would this may sound correct, it is NOT the behavior we expect.
Additionally, we should also check if themes' and toolkit's weren't suffering the same fate.
The text was updated successfully, but these errors were encountered: