riverpod icon indicating copy to clipboard operation
riverpod copied to clipboard

Add dependency injection doc

Open snapsl opened this issue 2 months ago • 2 comments

Make riverpod onboarding easier.

A great feature of riverpod is that we can easily implement dependency injection. But this is not described in the documentation.

The documentation should contain:

How-To implement dependency injection using riverpod:

  • provider (singleton)
  • ProviderScope override
  • family (I am not sure if that is desired)
  • testing

If needed, I can contribute to the docs.

snapsl avatar Apr 24 '24 06:04 snapsl