Skip to content

Commit 793722b

Browse files
committed
update readme
1 parent f0abac2 commit 793722b

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

README.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,20 @@ Hooks. People love them, people hate them. But one is for sure - hooks are there
22

33
The most important feature of hooks is sharing _reusable functionality_. In the past it was achieved using _mixins_, which were later deprecated in favor of patterns like _render props_ and _higher order components_. But these patterns introduced additional complexity and resulted in something now called _wrapper hell_.
44

5-
## Test
5+
## What is this?
66

7+
The purpose of this reposity is to provide beginner-friendly real-world examples of different hooks usage. Here are some of them:
8+
9+
* Accordion [[code](src/components/accordion), [demo](https://awesome-hooks.now.sh/accordion)]
10+
* Todo list [[code](src/components/todo-list), [demo](https://awesome-hooks.now.sh/todo-list)]
11+
* Very basic form validation library [[code](src/components/form-library), [demo](https://awesome-hooks.now.sh/form-library)]
12+
13+
This application is built using `create-react-app`, so feel free to clone the repo and play with examples yourself.
14+
15+
```
16+
yarn install
17+
yarn start
18+
```
19+
## Todo
20+
21+
More examples, more comments. Pull requests and overall suggestions are welcome.

0 commit comments

Comments
 (0)