6 Commits

Author SHA1 Message Date
Juan Lulkin
b7f1939097 Uses resolveHookState and its types 2021-02-16 09:45:03 +01:00
Juan Lulkin
eb2a285aa7 Revert back to single quotes 2021-02-15 21:00:14 +01:00
Juan Lulkin
0713ed68c6 feat:Makes createGlobalState API compatible with React 2021-02-15 20:57:05 +01:00
Renovate Bot
a27f09fd36
chore: refactoring and rearrangement.
More DRY code. Also move non-hooks to separate directories.

BREAKING CHANGE: all `create*` factories been moved to `factory` subdirectory and in case direct import should be imported like `react-use/esm/factory/createBreakpoint`
BREAKING CHANGE: `comps` directory renamed to `component`
2021-01-30 23:30:26 +03:00
MrHuangJser
230efb8168 fix lint issue 2020-01-13 09:45:52 +08:00
MrHuangJser
ebc7b5b0f5 rename useGlobalState to createGlobalState 2020-01-13 09:42:56 +08:00