mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-25 15:40:06 +03:00
Add warning
This commit is contained in:
parent
8c48a73c28
commit
032623abb7
|
@ -904,6 +904,11 @@ export function unliftStore<
|
|||
}
|
||||
|
||||
const $$observable = getSymbolObservable();
|
||||
if (!($$observable in liftedStore)) {
|
||||
console.warn(
|
||||
'Symbol.observable as defined by Redux and Redux DevTools do not match. This could cause your app to behave differently if the DevTools are not loaded. Consider polyfilling Symbol.observable before Redux is imported or avoid polyfilling Symbol.observable altogether.'
|
||||
);
|
||||
}
|
||||
|
||||
return {
|
||||
liftedStore,
|
||||
|
|
Loading…
Reference in New Issue
Block a user