react-rest-cache
Advanced tools
Comparing version
@@ -238,2 +238,3 @@ var $8zHUo$react = require("react"); | ||
setLoading(false); | ||
setError(undefined); | ||
return newData; | ||
@@ -240,0 +241,0 @@ }).catch((error)=>{ |
@@ -217,2 +217,3 @@ import $hgUW1$react, {useState as $hgUW1$useState, useCallback as $hgUW1$useCallback, useEffect as $hgUW1$useEffect} from "react"; | ||
setLoading(false); | ||
setError(undefined); | ||
return newData; | ||
@@ -219,0 +220,0 @@ }).catch((error)=>{ |
{ | ||
"name": "react-rest-cache", | ||
"version": "0.4.5", | ||
"version": "0.4.6", | ||
"description": "React library to fetch a REST API with cache and sync capabilities", | ||
@@ -5,0 +5,0 @@ "source": "src/index.ts", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
63551
0.3%550
0.36%