Skip to content

Commit

Permalink
Adds examples with hooks
Browse files Browse the repository at this point in the history
Dependencies updated to support react-v16.8.0-alpha.1
  • Loading branch information
rjz committed Jan 20, 2019
1 parent 73ebd0b commit 1ff9504
Show file tree
Hide file tree
Showing 11 changed files with 12,624 additions and 49 deletions.
10 changes: 6 additions & 4 deletions README.md
@@ -1,10 +1,16 @@
# React with TypeScript

<p align="center">
<img src="public/react-typescript.svg" width="128" />
</p>

[TypeScript](https://www.typescriptlang.org/) sample implementations of familiar
[React.js](http://reactjs.org) patterns.

## Examples

- [`useEffect()` and `useState()` hooks](./src/examples/hook-effect/)
- [`useReducer()` hook](./src/examples/hook-reducer/)
- [Context API](./src/examples/context/)
- [Higher-order component](./src/examples/higher-order-component/)
- [Reducer component](./src/examples/reducer-component/)
Expand Down Expand Up @@ -33,8 +39,4 @@ request!

ISC

<p align="center">
<img src="public/react-typescript.svg" width="128" />
</p>

[ts-react-redux]: https://github.com/rjz/typescript-react-redux

0 comments on commit 1ff9504

Please sign in to comment.