Amazing demonstration! (y) There's one thing we can work upon and that is applying the condition for checking if there's any text in the textbox (eliminating the spaces). For now, if you'll hit the submit button without entering any text in the textbox, it still adds the list item in the flatlist. It is very important for the budding devs to apply checks before submitting any data.
This code is showing error like Unable to resolve module react-redux from D: eact natve edux\index.js: react-redux could not be found within the project or in these directories: node_modules..... how to reslove that give me any suggetions
The simplest way is to use the store object. store.dispatch(...). You can import it anywhere. It's a bit clunky but it works. I may be doing more tutorials with redux in the near future that addresses this kind of stuff.
I may do a follow up video (if people are interested) where I show how to use Redux with various hooks. Are there any other state management solutions you would like to see covered on this channel?
how to do this in functional component I am using functional component and while clicking on add button it is showing can't find variable add (as you used add for adding item to the cart) any solution ?
What haoppens when you refresh or close out the app; does the food list stay or disappear? How would you get the list to stay when you open and close the app?
Redux is a state management solution (like an enhanced version of the normal setState approach). It's not data storage. The redux store lives as long as your app isn't killed. Some ways to permanently store data in your app include SQLite and AsyncStorage. I created a video on AsyncStorage a few weeks ago ua-cam.com/video/Sv_KE5BI8L8/v-deo.html. AsyncStorage is best for storing key/value pairs like user settings. SQLite is great for storing structured data. I'll probably be doing a video on SQLite in the near future.
Hi, Please sorry for the offTopic but I need your help concerning flutter, I want to add another notifier to the foodNotifier like bookNotifier.. but when I do I cannot use the same detail screen for both.. Please can there be a way for me to do that.. One detail screen for different product categories.. Thanks
Hey thanks a ton! Awesome tutorial. I was having so much trouble understanding all the different parts of redux for an assignment for a class but you really simplified things for me. I'll definitely check your channel first if I need react native tutorials in the future. Keep up the great work! Earned a sub from me!
First of all great tutorial ! But i have a situation. in mapStateToProps when im trying to return my state foodReducer i have an error with 'Undefined is not an object (Evaluating state.food...)' and when im doing a console.log(state) i have 'Undefined' as response. Please need some help :(
There is no correct answer. As a developer, that's up to you to choose the best choice. You can use both in the same app if you need to There are more options than those 2. A developer needs to be able to consider different options and choose the one that makes sense for their particular situation.
Really nice, thank you, unfortunately form me I learnd using function components, never worked with classes, so I'm having trouble adapting... Also not really an option for me to change this function component to a class component
The content of the video wouldn't change much, I might do that for future videos if enough people want it. I wanted to focus specifically on Redux for those that aren't familiar with functional components and Hooks.
Oh man, this tutorial is awesome. I've looked into couple of videos and could't find any that would be simple yet cover couple of most needed things. You explain everything very clear and it is easy to follow event if someone comes from another technologies and launguages. Awesome, thanks for this! :)
This was the best tutorial on redux so far. Thank you Curry. Would be nice to learn from you how can we bring data from Firebase and populate the store with that. :)
Do you have any specific questions? I've done separate videos on firebase and redux already. There isn't really thing new I can say about using them together. The data/list in the redux video can easily be replaced by any data coming from firestore. I could have used firebase in the redux video not everyone uses Firebase for their backend. I may be showing full apps in the future after I cover a few more topics.
Redux is for state management. The redux store only lives as long as the current app session lives. It's not for permanent data storage across different relaunches. The state within the store is accessible to all components in your app that has the Provider as a parent component. Feel free to ask more questions if that didn't make sense.
I don't know exactly what you're trying to do, but It tells you what the problem is. You can't perform asynchronous operations inside of actions. Dispatch AFTER the asynchronous operation.
I didn't want to use Hooks in case some viewers weren't familiar with them. I think I'll use Hooks in most of my future videos since people keep mentioning them in the comments 🙂
I know a lot of people think i talk fast. A lot of info to get through. You can always slow down the video speed in UA-cam too. Thanks for the feedback
The way you explain was so smooth.Thanks for this tutorial!!!!!!
Amazing demonstration! (y)
There's one thing we can work upon and that is applying the condition for checking if there's any text in the textbox (eliminating the spaces). For now, if you'll hit the submit button without entering any text in the textbox, it still adds the list item in the flatlist. It is very important for the budding devs to apply checks before submitting any data.
Like validation?
from 0% to something learnt.. Thanks for the video.. your explanation was nice.
Thank you! very good with my new RN journey
Best explanation for Redux with multiple Reducers in React Native. Thanks for the tut. :)
Thank you so much for your help in understanding Redux.
You're welcome
20:55 I thought it's my mac showing low battery indicator 😆
This code is showing error like Unable to resolve module react-redux from D:
eact natve
edux\index.js: react-redux could not be found within the project or in these directories: node_modules..... how to reslove that give me any suggetions
Npm install
That is cool tutorial maaaan
Thanks!
How can we update the redux store outside the react component? Thanks
The simplest way is to use the store object. store.dispatch(...). You can import it anywhere. It's a bit clunky but it works. I may be doing more tutorials with redux in the near future that addresses this kind of stuff.
@@TheFlutterFactory Thanks
I may do a follow up video (if people are interested) where I show how to use Redux with various hooks. Are there any other state management solutions you would like to see covered on this channel?
ReactNative Redux Saga....need vedios on this topic.please provide ..
Ever planning on doing this? Lots of likes on this comment
@@compeng2013 I'll be doing another video within the next couple weeks
I'd be very interested in a tutorial including hooks.
Yes, please, that would be very helpful. Thank you.
how to do this in functional component I am using functional component and while clicking on add button it is showing can't find variable add (as you used add for adding item to the cart) any solution ?
Did you define an 'add' function?
@@TheFlutterFactory i got solution i was not passing it as props in component that's y it was showing undefined or not found
Thank you for such a smooth explanation about redux.👌🤞
What haoppens when you refresh or close out the app; does the food list stay or disappear? How would you get the list to stay when you open and close the app?
Redux is a state management solution (like an enhanced version of the normal setState approach). It's not data storage. The redux store lives as long as your app isn't killed. Some ways to permanently store data in your app include SQLite and AsyncStorage. I created a video on AsyncStorage a few weeks ago ua-cam.com/video/Sv_KE5BI8L8/v-deo.html. AsyncStorage is best for storing key/value pairs like user settings. SQLite is great for storing structured data. I'll probably be doing a video on SQLite in the near future.
Yeah, he's correct. AsyncStorage will help you with this matter. By simply getting simple or multiple keys with the corresponding values.
Great Video, Thanks bro
very clean expression, i got it! thank you sir..
Hi, Please sorry for the offTopic but I need your help concerning flutter, I want to add another notifier to the foodNotifier like bookNotifier.. but when I do I cannot use the same detail screen for both.. Please can there be a way for me to do that.. One detail screen for different product categories.. Thanks
Hey thanks a ton! Awesome tutorial. I was having so much trouble understanding all the different parts of redux for an assignment for a class but you really simplified things for me. I'll definitely check your channel first if I need react native tutorials in the future. Keep up the great work! Earned a sub from me!
Thanks for the kind words. I'm thinking of doing a part 2 on it in the near future. There's so much more you can do with it
Will same method work perfectly even after adding reactnative navigation?
Yes, State management is completely isolated from navigation.
Everything is fine , this video is awsome but am not getting how run this code when I get it from git, can you help me with this
First of all great tutorial ! But i have a situation. in mapStateToProps when im trying to return my state foodReducer i have an error with 'Undefined is not an object (Evaluating state.food...)' and when im doing a console.log(state) i have 'Undefined' as response. Please need some help :(
the best tutorial I've ever seen. Thank you very much
ReactNative Redux Saga....need vedios on this topic.please provide ..
really captivated thanks alot kindly make a complete tutorial like a shopping cart app
Just what I needed, thanks!
Perfect Video, ty
Great tutorial thank you!
best as always
Hi, Which one should i use in React Native app, React hooks or Redux ??
There is no correct answer. As a developer, that's up to you to choose the best choice. You can use both in the same app if you need to There are more options than those 2. A developer needs to be able to consider different options and choose the one that makes sense for their particular situation.
@@TheFlutterFactory Thank you
Really nice, thank you, unfortunately form me I learnd using function components, never worked with classes, so I'm having trouble adapting... Also not really an option for me to change this function component to a class component
I'll probably do a video with redux in functional components. It's not that difficult. There are plenty redux related Hooks
Awsm
Please switch to function component for the next videos
The content of the video wouldn't change much, I might do that for future videos if enough people want it. I wanted to focus specifically on Redux for those that aren't familiar with functional components and Hooks.
I want you to continue with more videos for redux and its multiple scenarios also react native
plz give me link to you git for this example
Look in the video description 🙂
Awesome!
Oh man, this tutorial is awesome. I've looked into couple of videos and could't find any that would be simple yet cover couple of most needed things. You explain everything very clear and it is easy to follow event if someone comes from another technologies and launguages.
Awesome, thanks for this! :)
Nice tutorial..Thank you.
This was the best tutorial on redux so far. Thank you Curry. Would be nice to learn from you how can we bring data from Firebase and populate the store with that. :)
I'll be doing more with redux in the future for sure
Thanks for this!!
Thank you so much for your amazing explanation , really very useful..
Can you please upload some videos in crud Operation using react-native redux ?
Subbed. Thank you for the tutorial. Would love to see a video with Redux + hooks.
Thanks a lot sir, You clearly expained it.
Great tutorial thank you. Could you possibly do a video on redux with firebase?
Do you have any specific questions? I've done separate videos on firebase and redux already. There isn't really thing new I can say about using them together. The data/list in the redux video can easily be replaced by any data coming from firestore. I could have used firebase in the redux video not everyone uses Firebase for their backend. I may be showing full apps in the future after I cover a few more topics.
Can we use hooks in react native?
I posted a video about Hooks before ua-cam.com/video/RyMF8WyMoZE/v-deo.html
so we use redux to management app data not for component functionality state. is this correct?
Redux is for state management. The redux store only lives as long as the current app session lives. It's not for permanent data storage across different relaunches. The state within the store is accessible to all components in your app that has the Provider as a parent component. Feel free to ask more questions if that didn't make sense.
@@TheFlutterFactory :ReactNative Redux Saga....need vedios on this topic.please provide ..
ReactNative Redux Saga....need vedios on this topic.please provide ..
D:\CwC_React_Native\android\app\debug.keystore' not found for signing config 'debug'.
this is coming while build
Error: Actions must be plain objects. Use custom middleware for async actions
I don't know exactly what you're trying to do, but It tells you what the problem is. You can't perform asynchronous operations inside of actions. Dispatch AFTER the asynchronous operation.
This is by far the BEST tutorial on Redux I have ever watched. Seriously, dude. Amazing job.
How to edit data
Tanks
maybe u can try making it with hooks
I didn't want to use Hooks in case some viewers weren't familiar with them. I think I'll use Hooks in most of my future videos since people keep mentioning them in the comments 🙂
@@TheFlutterFactory amazing bro
nice tutorial,if you could be a little slower ,would be better
I know a lot of people think i talk fast. A lot of info to get through. You can always slow down the video speed in UA-cam too. Thanks for the feedback
can't get ur getParam