bizz84 / bizz84/simple_auth_flutter_riverpod

Technical Question Regarding Auth Repository Provider

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
106
Forks
24
PR merge metrics
No merged PRs in 30d

Description

Thanks for this helpful repository. I've got a question for you, I'm pretty new to riverpod.

I saw that you are watching the FakeAuthRepository in this code with ``ref.watch``. What's the reason behind it? Why not put the class instantiation in the latter provider?

https://github.com/bizz84/simple_auth_flutter_riverpod/blob/main/lib%2Fsrc%2Ffeatures%2Fauthentication%2Fdata%2Ffake_auth_repository.dart#L25-L32

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.