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()๋ฅผ ์ ๊ฑฐํด์ค๋ค.