Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pedroobando/react-starwars
Una apps que consume un api rest - usando un hook useQuery
https://github.com/pedroobando/react-starwars
Last synced: 1 day ago
JSON representation
Una apps que consume un api rest - usando un hook useQuery
- Host: GitHub
- URL: https://github.com/pedroobando/react-starwars
- Owner: pedroobando
- Created: 2020-08-17T16:59:43.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-08-17T18:17:18.000Z (over 4 years ago)
- Last Synced: 2024-11-10T14:45:44.209Z (about 2 months ago)
- Language: JavaScript
- Size: 229 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# react-starwars
> Un sencillo ejemplo que demuestra el uso de un CustomHooks -[React-Query](https://react-query.tanstack.com/)
> Consume un EndPoint, manteniendo un cache de los datos por un tiempo definido. Bueno para las paginacion porque no hace falta llamar al endpoint de nuevo, si los datos son muy actuales.
**Que puedo encontrar aqui y ~~que no~~**
- app en React
- bootstrap
- arrow function
- npm package / yarn
- hooks - useState / useEffect / useRef / useCallback
- hooks - useCustonHooks
- arrows functions
- ~~class funtions~~> Libreria : [npmjs react-query](https://www.npmjs.com/package/react-query)
> Page : [React Query](https://react-query.tanstack.com/)> EndPoint: [https://swapi.dev/](https://swapi.dev/)
> Proyecto original [React Query - Youtube](https://www.youtube.com/playlist?list=PL4cUxeGkcC9jpi7Ptjl5b50p9gLjOFani)
## License
[![License](http://img.shields.io/:license-mit-blue.svg?style=flat-square)](http://badges.mit-license.org)
- **[MIT license](http://opensource.org/licenses/mit-license.php)**
- Copyright 2020 © Pedro Obando.