小编Fat*_*ani的帖子

Redux actions triggered by selectors

I'm having a hard time implementing Redux in a quiet large website.

I have components connected to the store using the useSelector API I use Reselect to write selectors.

The thing is I don't know where to trigger the bootstrap actions of a page for example.

I have a container made of stateless components, that only takes props and displays them. In the container, one could trigger all the actions to fetch data from an API. (using redux-thunk) The main …

javascript typescript redux

6
推荐指数
1
解决办法
230
查看次数

标签 统计

javascript ×1

redux ×1

typescript ×1