csells / go_router

The purpose of the go_router for Flutter is to use declarative routes to reduce complexity, regardless of the platform you're targeting (mobile, web, desktop), handling deep linking from Android, iOS and the web while still allowing an easy-to-use developer experience.
https://gorouter.dev
441 stars 97 forks source link

Go Router rebuild the whole widget #288

Closed saswatmoo closed 2 years ago

saswatmoo commented 2 years ago

Hello there, During development, the Go router rebuilds the whole widget tree during hot reload. Is this the default behavior or we could avoid it by doing something?

csells commented 2 years ago

Here's how to think about how GR works wrt HR: https://github.com/csells/go_router/discussions/201