摘要: We want to write a Monoid, which able to take function called 'run', therefore we able to run a serial of functions together to get a combined result. 阅读全文
posted @ 2020-03-10 18:09 Zhentiw 阅读(189) 评论(0) 推荐(0)
摘要: const [state, dispatch] = useReducer(reducer, initialArg, init); The third arguement 'init' is a lazy initialization which is a function. It is useful 阅读全文
posted @ 2020-03-10 16:35 Zhentiw 阅读(223) 评论(0) 推荐(0)