讓你的Action能作更多 — Redux-Thunk
延續著自己寫的Redux Middleware大略架構,接下來要來介紹Redux-Thunk。本篇除了介紹Redux-Thunk在作些什麼外,也希望能稍微review React-Thunk中的原始碼(因為很短?)。
首先,何謂thunk?問問維基百科吧!
In computer programming, a thunk is a subroutine that is created, often automatically, to assist a call to another…