This repo contains a simple example on how to integrate GoRouter and Riverpod altogether. There's also another (outdated as of now!) example about GoRouter + Riverpod + Firebase integrations.
This example is community driven and strives to represent the "best" solution we've found.
Here's what happens when you run the app:
BIG THANKS to...
Special thanks to @AhmedLSayed9 for showing a great simplification!
No, not at this moment in time. PRs are welcome, but chances are that I'll maintain the codegen and firebase (based on codegen) examples only.
For the same reason above, I stopped maintaining legacy integrations. It just doesn't makes sense, since there's a potentially unlimited amount of combinations to take care of.
Use git
. You'll find a lot of folders full of old examples.
Please consider starring this mini-repo if you found it useful. Also please consider opening an issue or a PR if you think you can contribute in here. Don't be shy!
If you didn't, or if you want to contribute in any way, a discussion about improving this example can be found here.