The Riverpod docs have two migration guides, one for each StateNotifier (rather new that it is discouraged)and ChangeNotifier (discouraged since a long time, only meant for easy migration from provider). Instead of StateNotifier and ChangeNotifier, Notifier or AsyncNotifier should be used.
@@FlutterMapp Using ChangeNotifierProvider is discouraged by Riverpod and exists primarily for: -an easy transition from provider -supporting mutable state, even though immutable state is preferred
Hi, thanks for the upload 🤩 but I guess we could do a lot more with Riverpod. If you refer to ChangeNotifierProvider documentation, it says: Using ChangeNotifierProvider is discouraged by Riverpod and exists primarily for: - an easy transition from package:provider when using its ChangeNotifierProvider - supporting mutable state, even though immutable state is preferred Also maybe you can cover provider generation too using @riverpod annotation. On top of it all, can we have another updated video/course on Clean Architecture with actual CRUD operations (with Sqflite and/or Firestore) and Riverpod. I guess it's a need with 99% of all RUclips tutorials cover bloc 😇 This is a humble request from a huge fan of your content.
Brilliant and clear guide to start replacing provider package for example, thanks. Still, state and changenotifier should not be used, instead it is better to use code generation to implement more complex and useful types of providers as the documentation suggests.
@@oswaldoolea2889 This tutorial is valid as reference and fast migration, but on new applications you should use code generation, just pointing what the actual documentation says.
@@FlutterMapp Can you create a video, or serie... to explain how to use (and why) and DIFFERENCE between: _StateProvider and StateNotifierProvider or _AsyncNotifierProvider How and when is better to use that... is important create simple and very clear case of study (from scratch!!!!!). Tell you this because i have this issue when i just started to learn in existing tutorials about Riverpod. For me is very important "from scratch", because i can try to "enter" in your mind and understand how you think about creating things. Is not important good UI here, tree simple data to receive or listen it's enough ThankYouVeryMuch
Could you do a similar video with code generation? I’ve mostly used riverpod like you were showing here, but since the code gen version is the most likely to stay long term it would be nice to see more examples using it. Thanks!
@@FlutterMapp I’m referring to using build_runner to creste annotated providers, but probably this depends on this package you mentioned, I’d check the official docks just to be sure.
Hello, I bought the Zero To Hero course and I noticed there is an updated one may you please switch me to the updated one. I messaged you on discord but no response
Their are many providers in riverpod but you used the one that even riverpod said not to use
Please share with us what is wrong, what should be done instead, and why. I'm willing to make it right if it's not. 👍
The Riverpod docs have two migration guides, one for each StateNotifier (rather new that it is discouraged)and ChangeNotifier (discouraged since a long time, only meant for easy migration from provider). Instead of StateNotifier and ChangeNotifier, Notifier or AsyncNotifier should be used.
@@FlutterMapp Using ChangeNotifierProvider is discouraged by Riverpod and exists primarily for:
-an easy transition from provider
-supporting mutable state, even though immutable state is preferred
RUclipsrs copy/remake from other videos, end up using legacy codes.
@@FlutterMapp hey are you planning to make an updated tutorial on Riverpod using the recommended approach?
Hi, thanks for the upload 🤩 but I guess we could do a lot more with Riverpod. If you refer to ChangeNotifierProvider documentation, it says:
Using ChangeNotifierProvider is discouraged by Riverpod and exists primarily for:
- an easy transition from package:provider when using its ChangeNotifierProvider
- supporting mutable state, even though immutable state is preferred
Also maybe you can cover provider generation too using @riverpod annotation.
On top of it all, can we have another updated video/course on Clean Architecture with actual CRUD operations (with Sqflite and/or Firestore) and Riverpod. I guess it's a need with 99% of all RUclips tutorials cover bloc 😇 This is a humble request from a huge fan of your content.
Thanks for the video correction! That's how we learn and improve for the future! Keep it up 🔥
very straight forward , easy to understand and To the point
I think it's riverpod more complicated than cubit bloc,
This was insightful and very easy to understand, thanks.
Letsgo!
Nice tutorial.
But doesn't the Riverpod tell to avoid ChangeNotifier?
Brilliant and clear guide to start replacing provider package for example, thanks. Still, state and changenotifier should not be used, instead it is better to use code generation to implement more complex and useful types of providers as the documentation suggests.
read the title of the video, code generation is not easy beginners staff
@@oswaldoolea2889 This tutorial is valid as reference and fast migration, but on new applications you should use code generation, just pointing what the actual documentation says.
Next bloc and cubit😄
Thank you for this tutorial, it helped me so much understanding riverpod!
Update: I've switched to Provider. It is easier to think in Widgets than it is to think in listening or reading or whatever
Beautifully explained. I was able to understand it perfectly and made the necessary changes to my app. Thank You
👏👏👏👏
as of now rivepod a lot has changed .... imagine having a build method in business logic.
Oh dear, You explain it very well ! Can you please make it in Bloc?
Please make a video on flutter sqflite CRUD operation
Broooooooo!!! Thank you a lot. Finally understand riverpod
watch, read?
thats funny.
why not use the word set and get like any state management in js
very good and clear, i hope your english is better
great video, thanks. Question: in a DDD architecture the riverpod_model.dart file will go into the data or domain folder ?
I liked your way simplifying riverpod.
Epic tutorial by all means
Please make a video about flutter hooks
Hmm, what an unnecessary state manager
AI Text to Speech Flutter Full App
out of date
The best answer five stars
deprecated providers
Great Explanation Thank you.
You are a saint! ❤
Not up to date!
T’es Québécois?
Was so helpful.
Very good video... can you made same video with most engaged riverpod's providers, please? l
Humm, can you elaborate the request please, I'm not sure to understand? Thank you
@@FlutterMapp
Can you create a video, or serie... to explain how to use (and why) and DIFFERENCE between:
_StateProvider and StateNotifierProvider
or
_AsyncNotifierProvider
How and when is better to use that...
is important create simple and very clear case of study (from scratch!!!!!).
Tell you this because i have this issue when i just started to learn in existing tutorials about Riverpod.
For me is very important "from scratch", because i can try to "enter" in your mind and understand how you think about creating things.
Is not important good UI here, tree simple data to receive or listen it's enough
ThankYouVeryMuch
This is just the basics.... you need to cover future and stream providers as well for beginners.
Could you do a similar video with code generation? I’ve mostly used riverpod like you were showing here, but since the code gen version is the most likely to stay long term it would be nice to see more examples using it. Thanks!
In the video description, you have 2 practical exercises. Is this what you meant?
Okay, after reading further comments, I think you were referring to the riverpod_generator dependency, right?
@@FlutterMapp I’m referring to using build_runner to creste annotated providers, but probably this depends on this package you mentioned, I’d check the official docks just to be sure.
Great explanation. Made it simple for me.
Glad you liked it!
Thats briliant tutorial! Thanks man. Can't wait for bloc EASY tutorial
Hello, I bought the Zero To Hero course and I noticed there is an updated one may you please switch me to the updated one. I messaged you on discord but no response
Just replied to you on Discord 🔥