3 Commits

Author SHA1 Message Date
xobotyi
a087deb48e
fix: proper definition for isBrowser and isNavigator states.
should fix: #1777

Also introduce jest config for ssr tests (it fails hard now).
2021-01-31 10:33:48 +03:00
xobotyi
723c588fef
feat: improve on and off util functions typing. 2021-01-31 03:03:51 +03: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