https://github.com/imteekay/pokehooks-labs
A laboratory to use pokemons and do some experiments with React Hooks API
https://github.com/imteekay/pokehooks-labs
context-api javascript js pokedex pokemon react react-hooks reactjs
Last synced: about 1 year ago
JSON representation
A laboratory to use pokemons and do some experiments with React Hooks API
- Host: GitHub
- URL: https://github.com/imteekay/pokehooks-labs
- Owner: imteekay
- License: mit
- Created: 2019-07-16T02:25:16.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-16T11:58:46.000Z (over 3 years ago)
- Last Synced: 2025-04-28T12:03:18.007Z (about 1 year ago)
- Topics: context-api, javascript, js, pokedex, pokemon, react, react-hooks, reactjs
- Language: JavaScript
- Homepage: https://www.iamtk.co/react-hooks-context-api-and-pokemons
- Size: 819 KB
- Stars: 39
- Watchers: 2
- Forks: 16
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Pokehooks Labs
A laboratory to use pokemons and do some experiments with React Hooks API. This is the source code for the [React Hooks, Context API, and Pokemons
](https://www.iamtk.co/react-hooks-context-api-and-pokemons) article.
- [Building two lists, pokemons and pokedex, with `useState`](https://github.com/leandrotk/pokehooks/pull/1/files)
- [Sharing data with `Context API`](https://github.com/leandrotk/pokehooks/pull/2/files)
- [Extracting logic with `useReducer`](https://github.com/leandrotk/pokehooks/pull/3/files)
- [Building a form to add new pokemons to the list with `dispatch`](https://github.com/leandrotk/pokehooks/pull/4/files)
- [Fetching data from PokeAPI with `fetch`, `async await`, and `reducer`](https://github.com/leandrotk/pokehooks/pull/5/files)
- [UI improvements](https://github.com/leandrotk/pokehooks/pull/6/files)