please remove the console.warn()
mlnima opened this issue Β· comments
Hi π,
can you please remove this warning for production?
/!\ You are using legacy implementaion. Please update your code: use createWrapper() and wrapper.useWrappedStore().
some how I try to do what the warn says but even the example in redux website is same as what I do, my app is working fine just warning in production could cause SEO effect, this is new in the past versions I had no issue
Thanks
@mlnima this not bug. It's feature and missing in document
Check example here: https://github.com/kirill-konshin/next-redux-wrapper/blob/master/packages/demo-redux-toolkit/pages/_app.tsx
The warning is there for a reason. Please make sure you upgrade properly: https://github.com/kirill-konshin/next-redux-wrapper#wrapperusewrappedstore