Open stefanfrede opened 5 years ago
Hi,
I found this topic already a couple of times but so far no solution worked for me.
This is how I include redux-devtools:
redux-devtools
const composeEnhancers = typeof window === 'object' && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__({ serialize: { options: { map: true } }, }) : compose;
And everything works fine except for the parts where I use maps.
This whole problem started when I had to switch from @babel/plugin-transform-runtime and @babel/runtime-corejs2 to @babel/polyfill.
@babel/plugin-transform-runtime
@babel/runtime-corejs2
@babel/polyfill
I'm not using Chrome so I can't tell if it is just a Firefox problem.
If I remove the serialize option and import map.prototype.tojson in my code redux-devtools is showing native maps properly.
serialize
map.prototype.tojson
Hi,
I found this topic already a couple of times but so far no solution worked for me.
This is how I include
redux-devtools
:And everything works fine except for the parts where I use maps.
This whole problem started when I had to switch from
@babel/plugin-transform-runtime
and@babel/runtime-corejs2
to@babel/polyfill
.I'm not using Chrome so I can't tell if it is just a Firefox problem.