File tree Expand file tree Collapse file tree 3 files changed +21
-2
lines changed
Expand file tree Collapse file tree 3 files changed +21
-2
lines changed Original file line number Diff line number Diff line change @@ -108,4 +108,4 @@ Two actions are added by default:
108108
109109## License
110110
111- [ MIT] ( /LICENSE ) - © Committed Software 2020 https://committed.io
111+ [ MIT] ( /LICENSE ) - © Committed Software 2020 < https://committed.io >
Original file line number Diff line number Diff line change 11{
2- "version" : " 0.2 .0" ,
2+ "version" : " 0.3 .0" ,
33 "name" : " @committed/hooks" ,
44 "description" : " Committed hooks library" ,
55 "author" : " Committed" ,
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ import { version } from '../package.json'
1616This is a library of useful react hooks.
1717
1818It aims to remove repetition and effort for our different react based projects.
19+ These are all no dependency hooks.
1920They will be updated as we continue to improve and evolve our use of react.
2021
2122## Getting Started
@@ -45,3 +46,21 @@ Here are a few helpful links for getting started with hooks:
4546- [Tutorial](https://reactjs.org/docs/hooks-overview.html) Learn about react hooks.
4647- [Hooks Thinking](https://wattenberger.com/blog/react-hooks) Learn how to think about hooks.
4748- [Code](https://github.com/commitd/hooks) See the source code on GitHub.
49+
50+ ## Inspiration
51+
52+ Hooks in this library have been inspired by:
53+
54+ - [useHooks(🐠)](https://usehooks.com/)
55+ - [useHooks.ts](https://usehooks-typescript.com/)
56+ - [a hooks](https://ahooks.js.org/)
57+ - [Aaron Powell](https://www.aaron-powell.com/posts/2019-09-23-recursive-settimeout-with-react-hooks/)
58+ - [Dan Abramov](https://overreacted.io/making-setinterval-declarative-with-react-hooks/)
59+
60+ ## Others
61+
62+ We recommend the following hooks from other libraries:
63+
64+ - [useSWR from 'swr'](https://swr.vercel.app/) for simplify the logic of data fetching.
65+ - [useDebounce from 'use-debounce'](https://github.com/xnimorz/use-debounce) for more fully featured debounce.
66+ - [useImmer from 'use-immer'](https://github.com/immerjs/use-immer) for simple immutable ` useState `
You can’t perform that action at this time.
0 commit comments