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
State for TodoApp was pretty straightforward. However, as you go on exploring other examples, the state becomes a little confusing. What is the best way to design state for a complex application?
In shopping cart example, the original result from API call was an array. But it later was converted into an object with keys as IDs. What is the significance of that? Is storing state as an array discouraged? I understand that the design of the state may vary according to the use-case. But is there any general rule of thumb to design state in order to manage it in a painless manner?
After 2 weeks of banging my head, I finally wrapped my head around how redux operates. However, designing the state is even mind-boggling.
If you point me to a pertaining article, that will also do.
The text was updated successfully, but these errors were encountered:
State for TodoApp was pretty straightforward. However, as you go on exploring other examples, the state becomes a little confusing. What is the best way to design state for a complex application?
In shopping cart example, the original result from API call was an array. But it later was converted into an object with keys as IDs. What is the significance of that? Is storing state as an array discouraged? I understand that the design of the state may vary according to the use-case. But is there any general rule of thumb to design state in order to manage it in a painless manner?
After 2 weeks of banging my head, I finally wrapped my head around how redux operates. However, designing the state is even mind-boggling.
If you point me to a pertaining article, that will also do.
The text was updated successfully, but these errors were encountered: