popcode icon indicating copy to clipboard operation
popcode copied to clipboard

Add StrictMode to React component root

Open outoftime opened this issue 7 years ago • 1 comments

React 16.3 introduces <StrictMode>, which provides extra runtime warnings for deprecated or potentially buggy behavior. We should add it to the root component.

outoftime avatar Mar 30 '18 13:03 outoftime

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.

alexpelan avatar Aug 21 '18 23:08 alexpelan