Package Exports
- @snappmarket/hooks
- @snappmarket/hooks/index
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@snappmarket/hooks) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Our apps re-usable hooks
โ hooks are good, making custom re-usable ones is better
Hooks Found Here
Hook Name | Description |
---|---|
useDebounce | ๐ Change rapidly, do once |
useDidUpdateEffect | ๐งต Do not worry about render phase effect calls |
useFocus | ๐ต Focus on every thing you want |
useForceUpdate | ๐ฟ force update component |
useGeoLocation | ๐บ easily deal with navigator location API |
useRouteChange | ๐น detect when react router dom route changes |
useTimer | โฑ easily handle timing |
The MIT License (MIT)
Copyright (c) 2020 @snappmarket
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: