Because reducers are simple pure functions, it is very easy to test them. The way it works is, when an action is dispatched, the reducer does its magic.
確定! 回上一頁