Posts related to #javascript

How to use Reduce in JavaScript

May 09, 2020

The reduce function of an array is one of the most versatile functions in JavaScript. With it you can accomplish a lot of the functions from array and math objects.

How Does SWR Work?

Dec 15, 2019

SWR is a great package from Zeit to help make it easier to fetch remote data with hooks. It is based on the stale-while-revalidate RFC.