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

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

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)