Luca Venir
Luca Venir
> It is pretty useful. For example, a listenable that notifies every time a user logs in or out to redirect to the `/home` page or a `/login` page I...
I think this discussion leads to two alternatives: 1. Should `refreshListenable` even be a thing? 2. If yes, how does it fit with the ecosystem (it turns out state is...
> IMO no, you should use dependency lookup in redirect method Yes, I see this and I agree in principle. > See https://pub.dev/documentation/go_router/latest/go_router/GoRouter-class.html While I did not know about this,...
Damn, I stumbled on this exact problem, except I just have `FutureProvider`s in my case. I was lucky enough I could just drop the `.future` getter and use a `.requireValue`...
So Riverpod 3 won't have this issue at all?
maybe I'm asking a silly one, but how does this interact with #2364?
My two cents: I wouldn't like a new keyword. Instead, the already defined `new` fits fine with the rest of the language (e.g. constructor tear-offs); I'm familiar with it. It's...
Will this also introduce a way to write `redirect` methods inside `ShellRouteData`? Or is it already possible to define a redirect function on shell routes?
@ClaireDavis no it isn't; this is also about `ShellRoute` which - to my knowledge - isn't available to the builder. Or at least I can't find it in the docs....
Hi @creativecreatorormaybenot On [Riverpod's documentation pages](https://riverpod.dev/docs/getting_started), under the 3rd party examples folder on the left, you'll find "GoRouter with Riverpod", which is a [repo I've made a while ago](https://github.com/lucavenir/go_router_riverpod) you...