All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Create package.json
- Setup .gitignore
- Add a CHANGELOG.md
- Add a Readme.md and a Contributing.md
- Add Styleguidist
- Add ESLint
- Add Stylelint
- Tests
- Build System
- useCallbackRef hook & tests
- useDidMount hook & tests
- useWillUnmount hook & tests
- useLifecycle hook & tests
- useWindowResize hook & tests
- Auto-generating documentation script
- useDebouncedFn hook & tests
- useMouseEvents hook & tests
- useMouseState hook & tests
- useMouse hook & tests
- Adding babel-plugin-istanbul to solve this issue with istanbul/nyc
- Adding playground build as a gitpages website
- Adding better documentation
- useInterval hook & tests
- useTimeout hook & tests
- Build workflow performs tests twice
- useThrottledFn hook & tests
- debounce and throttle utilities
- useWindowScroll hook & tests
- useGlobalEvent hook & tests
- Few documentation typos
- Few documentation typos
- README image
- Types support
- Few documentation typos
- usePreviousValue hook & tests
- peerDependencies
- build was missing
- usePreviousValue types were missing
- React & ReactDom moved to
devDependencies
- Package name for public usage
- Code of conduct
- Contributing guidelines
- issue template
- pull request template
- correct package.json version
- dependencies update
- Rewriting
useMouseHandlerintouseMouseEvents
- documentation typos
- documentation typos
- useGeolocationEvents hook & tests
- useGeolocationState hook & tests
- useGeolocation hook & tests
- useMediaQuery hook & tests
- change the order of the listed hooks into the Readme.md file
useOnMountrenamed touseDidMount
- Usage example image
- improved
useCallbackRefdocumentation - changed lib logo
- removed wrong
useCallbackRefdependencies - dependency check on other event related hooks
- Switching CI to Travis
- useTimeout refactory
- few hooks refactory
- Improved documentation by a better use of Styleguidist
- Improved types
usePrevrenamed tousePreviousValue
- Fix on
usePreviousValuetype
- Fixing CI
- useValueHistory hook & tests
- useOnlineState hook
- Repository ownership changed from
antoniorutobeautifulinteractions
- useViewportSpy hook & tests
- Improved documentation
- types reference into package.json
- Fixed license in package.json
- useDragEvents hook & tests
- useDrag hook
- event handlers uses the right parameters and avoid using (...args)
useCallbackRefhas been reverted to an internal utility
- Build removed from the source package
- useOnlineState returns true when the device does not support the
online/offlinestate assuming the app is already online - Improved test
- useConditionalTimeout hook & tests
- adding react and react-dom as dev-dependencies
- adding types for useConditionalTimeout
- Updated typings for cancelable functions. Updated docs.
- Support windows. Add .npmrc for saving exact version of dependencies
- Updating dependencies
- Improving documentation by using
beautiful-react-uicomponents
- useValidatedState hook & tests
- Adding useValidatedState into README.md
- Rewriting README.md
- Moved beautiful-react-ui from dependencies to dev-dependencies
- useRequestAnimationFrame hook & tests
- Fix isSupported when window is not defined to allow SSR
- useLocalStorage hook & tests & docs & types
- improving SSR check and window.* check before usage
- adding SSR warning to
useRequestAnimationFrame - improving
useLocalStoragedocumentation
- dependencies update
- Adding Chinese translation of README.md
- Fixing missing links between README.md files
- Adding Italian translation of README.md
- Fixing missing image links in italian Readme.md
- Adding Spanish translation of README.md
- Adding Ukranian translation of README.md
- Fixing package version
- Adding Polish translation of README.md
- Fixing Polish translation of README.md
- Fixing links to hooks in language specific README files
- useDropZone hook & tests
- Fixing links in Contributing section and minor typos in language specific README files
- useStorage hook & tests
- adding SSR warning to
useLocalStoragehook - adding warning to
useLocalStoragehook iflocalStorageis not inwindowobject - adding new test for
useLocalStoragehook that checks thatlocalStorageinwindowobject
- Improved build system by removing gulp and introducing rollup
- tests directory from
srctotests - Dependencies updated
- Tests improved by running them from the dist folder
- Fixed double
npm run build-docscript run before deploy
- Type declaration fix for
useDebouncedFnanduseThrottledFn
- useInterval, clear the previous interval when the milliseconds value changes.
- Introducing ESModules build
moduleproperty added topackage.jsointo support ESModules
- useSessionStorage hook & documentation
- useStorage refactory
- useStorage types refactory
- useResizeObserver hook & documentation
- useStorage throws an error on server side rendering as the window object is not defined yet
- useInterval clear function is now correctly used as useEffect cleanup
- Rollup configuration
preserveModulesbug
- useTimeout clear function is now correctly used as useEffect cleanup
- CI minor issues
useValueHistorycan now be used with distinct history
- dependencies update
- CI minor issues
useDefaultedStatehook and tests
useObservablehook and tests
- CI minor issues
useSystemVoiceshook and testsuseSpeechSynthesishook and tests
useLocalStoreagetypes fix
- Better dist package
- CI bugfix
- Wrong path settings in package.json causes the library to be empty
- Wrong CI settings causes the library to be empty
- Webpack 5 error with the
isDevelopmentconstant
useRenderInfohook and tests
- Support for SSR in
isAPISupport
- Documentation link
useTouchEvents,useTouchStatehookuseSwipe,useHorizontalSwipeanduseVerticalSwipehook
useMouseEventsflaws- improved docs
useConditionalTimeouthook
useSwipetypings
useConditionalTimeouthook
useSwipeEventshook
- typings module
useSwipetypes
- converted
HandlerSettertype to better generic type
useSwipeEventsswipe performing only once in the same direction
HandlerSettertypes a function taking another function as parameter
- index exports
useHorizontalSwipeanduseVerticalSwipe
useSwipeEventsexportsonSwipeMove
useMediaQueryaddEventListener bug
- removed useless console.log from
useSwipe
useSwipeEventsexportsonSwipeEnd,onSwipeStart
- Complete typescript rewrite