Store data fetch in a local state redux reactjs

前端 未结 0 601
心在旅途
心在旅途 2020-12-03 01:06

I try to store date of a fetch in local state and not in the global store of my app.

(...)
.then(response => response.json())
.then (data => dispatch(fe         


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