Warnings in strict mode
I just wrapped my react.js app in a <StrictMode> component, and it yielded the following warnings, two of which are complaining about react-autocomplete (version 1.8.1).
Warning: Unsafe lifecycle methods were found within a strict-mode tree: in App
componentWillMount: Please update the following components to use componentDidMount instead: Autocomplete, ReactFinalForm
componentWillReceiveProps: Please update the following components to use static getDerivedStateFromProps instead: Autocomplete, Transition, t
componentWillUpdate: Please update the following components to use componentDidUpdate instead: ReactFinalForm
Learn more about this warning here: https://fb.me/react-strict-mode-warnings
I assume that these warnings will repro in any app that's using react-autocomplete wrapped in a <StrictMode> component, but if not let me know and I'll build a simplified repro case.