How to select a specific value from the initState to a reducer? React - Redux

后端 未结 0 669
-上瘾入骨i
-上瘾入骨i 2020-12-15 09:44

In a reducer how can I select only the "lemon" value if the initState is an object like fruits and the value is another object -> initialFruitsState??

Li

相关标签:
回答
  • 消灭零回复
提交回复
热议问题