如果使用react-cookie和redux就不会有冲突,如果react-hooks和redux可以工作,可以举个例子吗?
发布于 2019-02-25 21:43:38
看起来这似乎是可能的,react钩子映射从redux存储分派的状态。
你可以查看..。https://github.com/facebookincubator/redux-react-hook
这里有一篇很好的文章https://medium.com/maxime-heckel/rebuilding-redux-with-hooks-and-context-e16b59faf51c
希望这能有所帮助
https://stackoverflow.com/questions/54865252
复制相似问题