Skip to content

Un pequeño proyecto que muestra como usar swr para cargar peticiones de un api o cargar desde caché.

Notifications You must be signed in to change notification settings

stevenaraujo98/component-uses-swr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Swr React Project

Uses swr dependency.

The name “SWR” is derived from stale-while-revalidate, a HTTP cache invalidation strategy popularized by HTTP RFC 5861. SWR is a strategy to first return the data from cache (stale), then send the fetch request (revalidate), and finally come with the up-to-date data. swr page

And the PokeApi : https://pokeapi.co/api/v2/pokemon/{name}

About

Un pequeño proyecto que muestra como usar swr para cargar peticiones de un api o cargar desde caché.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published