其實你已經把該說的都說完了 😅,你的理解跟我的理解基本上是一樣的。但對於 store.dispatch 的認知不太一樣,因為 store.dispatch 是直接傳給最裡面 (最右邊) 的 middleware,應該不是一層一層傳上來。

我覺得不好理解的原因是在 JavaScript 的 Functional Programming 寫法很彈性,curry 可以用 Arrow Function 寫得非常炫,可是可讀性就會稍微低一點。

--

--

--

每天進步一點點,在終點遇見更好的自己。

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Airwaves

Airwaves

每天進步一點點,在終點遇見更好的自己。

More from Medium

6 Things You Need To Know About LoRaWAN

My First Date With Her

Dreams

The Infinite Game of Ukraine