How do I access nested state in redux?

前端 未结 0 1983
刺人心
刺人心 2020-12-12 18:58

This is my redux store:

const initState = {
  allSongs: songData(),
  currentSong: { ...songData()[0] },
};

The currentSong has

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