๊ฐ•์˜

๋ฉ˜ํ† ๋ง

์ปค๋ฎค๋‹ˆํ‹ฐ

BEST
Programming

/

Front-end

Redux vs MobX (Learn Both!)

Are you having trouble deciding between Redux and MobX? Let's learn both first and then decide!

(4.7) 35 reviews

950 learners

Level Basic

Course period Unlimited

  • zerocho
Redux
Redux
MobX
MobX
Redux
Redux
MobX
MobX

getDefaultMiddleware related

Source code: https://github.com/ZeroCho/redux-vs-mobx/blob/master/5.react-redux-toolkit/store.js

In the redux-toolkit tutorial

The way to import getDefaultMiddleware has changed. You should use it as a function instead of an array. And you can write the middleware you want to add inside concat.

middleware : ( getDefaultMiddleware ) => getDefaultMiddleware ( ) . concat ( logger )

Comment