From e3b097eaba15631321b58d99499087b484f86b79 Mon Sep 17 00:00:00 2001 From: Hemant Jain Date: Sat, 27 Feb 2021 23:15:19 +0530 Subject: [PATCH] Minor typos corrected --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 487dd11..00a31ce 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # react-use-cache -React use cache is an local cache manager to cache response data in memory. It will automatically return previous cached one when requesting the same data from serve to: +React use cache is an local cache manager to cache response data in memory. It will automatically return previous cached one when requesting the same data from server to: - improve performance - avoid multiple same requests to server to reduce server pressure @@ -23,7 +23,7 @@ $ yarn add react-use-cache ### useCache -React hook for cache promises fulfilled value. Use with `fetch` or `axiso` together to avoid multiple same request to server. Here is an example to cache blog detail object. +React hook for cache promises fulfilled value. Use with `fetch` or `axios` together to avoid multiple same request to server. Here is an example to cache blog detail object. Once a new comment is created, we are able to use `updateCache` to update the cached object.