Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/donavon/hook-flow

A flowchart that explains the new lifecycle of a Hooks component. https://dwe.st/hf
https://github.com/donavon/hook-flow

diagram flowchart hooks react reactjs

Last synced: 9 days ago
JSON representation

A flowchart that explains the new lifecycle of a Hooks component. https://dwe.st/hf

Awesome Lists containing this project

README

        

# hook-flow
[![All Contributors](https://img.shields.io/badge/all_contributors-3-orange.svg?style=flat-square)](#contributors)

React Hooks were introduced in version 16.8.0. They are a complete departure from class component lifecycle events.
For more information, see the official React
[Hooks API Reference](https://reactjs.org/docs/hooks-reference.html).

Here is a flow diagram that explains the new flow of a Hooks component.

## Flow Diagram

This flow diagram is also available as a [PDF file](https://github.com/donavon/hook-flow/blob/master/hook-flow.pdf).


flow chart

## Open in browser

To quickly open the Hook Flow Diagram in your default browser, you can execute the following
from your terminal. Commit this to memory! 😉

```bash
$ npx hook-flow
```

## License

**[MIT](LICENSE)** Licensed

## Contributors

Thanks goes to these wonderful people ([emoji key](https://github.com/all-contributors/all-contributors#emoji-key)):

| [Donavon West
Donavon West](http://donavon.com)
[🤔](#ideas-donavon "Ideas, Planning, & Feedback") [🚇](#infra-donavon "Infrastructure (Hosting, Build-Tools, etc)") [🚧](#maintenance-donavon "Maintenance") [👀](#review-donavon "Reviewed Pull Requests") [💻](https://github.com/donavon/hook-flow/commits?author=donavon "Code") [🎨](#design-donavon "Design") | [Revel Carlberg West
Revel Carlberg West](https://github.com/revelcw)
[🤔](#ideas-revelcw "Ideas, Planning, & Feedback") [🎨](#design-revelcw "Design") | [Dan Abramov
Dan Abramov](http://twitter.com/dan_abramov)
[🤔](#ideas-gaearon "Ideas, Planning, & Feedback") [🎨](#design-gaearon "Design") |
| :---: | :---: | :---: |

This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!