How to sync Redux state and url hash tag params

前端 未结 2 1753
失恋的感觉
失恋的感觉 2020-12-02 03:55

We have a list of lectures and chapters where the user can select and deselect them. The two lists are stored in a redux store. Now we want to keep a representation of selec

2条回答
  •  生来不讨喜
    2020-12-02 04:45

    react-router-redux can help you inject the url stuff to store, so every time hash tag changed, store also.

提交回复
热议问题