frontendBy Zahid Khan
What is caching?
Caching is a technique to store the previously computed or fetched data so we do not need to re-computed or refetch it again.
In JavaScript, we cache data using objects, Maps, closures, or browser storage.
In React, caching is commonly done using memoization hooks like useMemo, useCallback, API cache libraries like React Query, or browser storage.”
#javascript#reactjs