You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove usages of async-unsafe lifecycle methods (reduxjs#919)
* Reformat to make VS Code less annoying
* Failing test in <StrictMode>
* Remove usages of async-unsafe lifecycle methods
* Remove usage of UNSAFE_componentWillMount in test
* Move `selector` to state in order to be able to use gDSFP
* codeDIdCommit
* Stop using mutation
* Upgrade react-lifecycles-compat
Copy file name to clipboardExpand all lines: docs/api.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -377,7 +377,7 @@ It does not modify the component class passed to it; instead, it *returns* a new
377
377
378
378
*[`renderCountProp`]*(String)*: if defined, a property named this value will be added to the props passed to the wrapped component. Its value will be the number of times the component has been rendered, which can be useful for tracking down unnecessary re-renders. Default value: `undefined`
379
379
380
-
*[`shouldHandleStateChanges`]*(Boolean)*: controls whether the connector component subscribes to redux store state changes. If set to false, it will only re-render on `componentWillReceiveProps`. Default value: `true`
380
+
*[`shouldHandleStateChanges`]*(Boolean)*: controls whether the connector component subscribes to redux store state changes. If set to false, it will only re-render when parent component re-renders. Default value: `true`
381
381
382
382
*[`storeKey`]*(String)*: the key of props/context to get the store. You probably only need this if you are in the inadvisable position of having multiple stores. Default value: `'store'`
0 commit comments