React strict mode
char0n opened this issue · comments
In Reacts strict mode, react-media is triggering following error when <MediaQuery>
component is used.
Warning: Unsafe lifecycle methods were found within a strict-mode tree:
in Provider (at index-bundle.js:131)
componentWillMount: Please update the following components to use componentDidMount instead: MediaQuery
Would it be possible to comply with the strict mode ?
Thank you