Skip to content

Commit 6b12d3e

Browse files
Merge pull request #20 from commitd/sh-docs
📝 Docs update for minor release
2 parents 8ec9657 + 5161067 commit 6b12d3e

File tree

3 files changed

+21
-2
lines changed

3 files changed

+21
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "0.2.0",
2+
"version": "0.3.0",
33
"name": "@committed/hooks",
44
"description": "Committed hooks library",
55
"author": "Committed",

stories/introduction.stories.mdx

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ import { version } from '../package.json'
1616
This is a library of useful react hooks.
1717

1818
It aims to remove repetition and effort for our different react based projects.
19+
These are all no dependency hooks.
1920
They 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`

0 commit comments

Comments
 (0)