You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was about to open an issue on the same topic. In the documentation on riverpod.dev, the same code snippet includes calls to notifyListeners(). But the package docs seem incorrect to me as well.
Regarding the document of ChangeNotifierProvider, the content looks more like that of StateNotifierProvider.
See ChangeNotifierProvider
See StateNotifierProvider
For the TodosNotifier in the example of ChangeNotifierProvider, it can be changed to the following, refer to the case in the riverpod dev.
Other parts trouble the author to make changes to make it more suitable for ChangeNotifierProvider.
The text was updated successfully, but these errors were encountered: