popcode
popcode copied to clipboard
Add StrictMode to React component root
React 16.3 introduces <StrictMode>, which provides extra runtime warnings for deprecated or potentially buggy behavior. We should add it to the root component.
blah. so every one of our StrictMode errors is currently caused by react-redux and our connected components. This is fixed in react-redux@next (see: https://github.com/reduxjs/react-redux/issues/897 ). Unfortunately, Popcode doesn't seem to boot with this version of react-redux (see: https://github.com/reduxjs/react-redux/issues/965 and others).
The good news is I think we can just wait for the next cut of react-redux, yarn add that, and we'll be good then.