To work with React.StrictMode we need to move away from deprecated methods such as componentWillReceiveProps.
This should be switched to getDerivedStateFromProps, but it should be static so this can't be referenced. We, therefore, need to do 2 things:
1) this.isDebouncing needs to move to State
2) this.createNotifier needs to move to componendDidUpdate
This has not been tested yet so please test before merging. I am using in my own code but have not had time to properly test it yet.
To work with React.StrictMode we need to move away from deprecated methods such as componentWillReceiveProps.
This should be switched to getDerivedStateFromProps, but it should be static so
this
can't be referenced. We, therefore, need to do 2 things: 1) this.isDebouncing needs to move to State 2) this.createNotifier needs to move to componendDidUpdateThis has not been tested yet so please test before merging. I am using in my own code but have not had time to properly test it yet.