![](https://blog.hg-world.com/wp-content/uploads/2021/03/9iaowhg03kf37fibck40-450x300.jpg)
![](https://blog.hg-world.com/wp-content/uploads/2021/03/9iaowhg03kf37fibck40-450x300.jpg)
![](https://blog.hg-world.com/wp-content/uploads/2021/03/svelte-logo-450x300.png)
![](https://blog.hg-world.com/wp-content/uploads/2021/03/69398672_465627684277154_1840694443284365312_o-450x300.png)
![](https://blog.hg-world.com/wp-content/uploads/2020/12/ddd-450x300.png)
SWR – React Hooks library for data fetching
SWR is React Hooks library for data fetching. 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. With SWR, components will get …
![](https://blog.hg-world.com/wp-content/uploads/2020/12/download.jpg)
![](https://blog.hg-world.com/wp-content/uploads/2020/11/socketcluster-logo-400x300.jpg)
![](https://blog.hg-world.com/wp-content/uploads/2020/11/Apollo.jpeg)
![NestJS](https://blog.hg-world.com/wp-content/themes/blossom-feminine/images/no-img_450_300.png)
![](https://blog.hg-world.com/wp-content/uploads/2020/11/vuepress-450x300.jpg)
![](https://blog.hg-world.com/wp-content/uploads/2019/11/google-chrome-extensions-977x4881-976x488-450x300.jpg)