๊ด€๋ฆฌ ๋ฉ”๋‰ด

akjfal

A non-serializable value was detected in an action, in th e path" 'register'. ๋ณธ๋ฌธ

react/react ์—๋Ÿฌ

A non-serializable value was detected in an action, in th e path" 'register'.

akjfal 2019. 11. 23. 12:09

https://github.com/rt2zz/redux-persist/issues/988

 

non-serializable value error · Issue #988 · rt2zz/redux-persist

Hi folks ๐Ÿ‘‹, I just installed the redux-persist in a project still in its early stages and I'm facing this error message in the console as first thing when the page loads. I haven't done muc...

github.com

์›์ธ ์„ค๋ช…์ด ์ž˜ ๋˜์–ด ์žˆ๋‹ค.

<ํ•ด๊ฒฐ ์˜ˆ์‹œ>

 ์˜ค๋ฅ˜ ์ฝ”๋“œ)

const store = configureStore({
  reducer: rootReducer,
  middleware: [...getDefaultMiddleware(), sagaMiddleware ]
});

 ํ•ด๊ฒฐ ์ฝ”๋“œ)

const store = configureStore({
  reducer: rootReducer,
  middleware: [ sagaMiddleware ]
});

...getDefaultMiddleware()๋ฅผ ์ œ๊ฑฐํ•ด์ค€๋‹ค.

Comments