extra-react-hooks 0.1.7 → 0.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2996,6 +2996,12 @@
2996
2996
  ];
2997
2997
  }
2998
2998
 
2999
+ function useForceUpdate() {
3000
+ const [, setState] = react.exports.useState({});
3001
+ return () => setState({});
3002
+ }
3003
+
3004
+ exports.useForceUpdate = useForceUpdate;
2999
3005
  exports.useIncrement = useIncrement;
3000
3006
  exports.useIsMounted = useIsMounted;
3001
3007
  exports.useMount = useMount;