gdirk07 / PokemonChecker

Playing around with APIs
https://gdirk07.github.io/PokemonChecker/
0 stars 0 forks source link

Caching #4

Closed gdirk07 closed 2 years ago

gdirk07 commented 3 years ago

We request Pokemon everytime we select a new one, if we already fetched a pokemon, instead of requesting it again, lets access it locally.

jeremy-jtlo commented 2 years ago

I'm thinking about adding a couple repositories with the move changes. Doing so will likely mean the service structure has to change (constructing URLs via function params, other goodies).

jeremy-jtlo commented 2 years ago

Found some documentation on MDN that can give us a hand with this. I'll see if I can glean anything from it and implement a client-side repository for Pokemon and Move data.