lucavenir / go_router_riverpod

An example on how to use Riverpod + GoRouter
460 stars 68 forks source link

I don't see a complete_example folder #28

Closed ronytesler closed 1 year ago

ronytesler commented 1 year ago

Where is the complete_example folder?

TristanKing0 commented 1 year ago

He's only just changed it so hasn't updated the readme yet, use the example folder now, codegen is the default. Complete example is now in legacy.

ronytesler commented 1 year ago

Is there an example without hooks and without codegen?

lucavenir commented 1 year ago

He's only just changed it

Omw to updating the README.

Is there an example without hooks and without codegen?

It's kinda hard - for me - to maintain a duplicated deeply nested examples with these two / three / more approaches. Keep in mind that conceptually there is literally no difference. It's just syntactic sugar.

Also keep in mind that you can move between commits and get older examples.

Please check out the new example that collects and implement every request I've received and feel free to submit a PR with your favorite syntax.