hooks/useSCCachingManager
Functions
useSCCachingManager()
useSCCachingManager():
object
info
This custom hook manages cached data and the loading state.
Returns
object
Member | Type | Value |
---|---|---|
cache | number [] | cache.current |
data | any [] | - |
emptyCache | () => void | - |
isLoading | (v ) => boolean | - |
loading | any [] | - |
setData | Dispatch <SetStateAction <any []>> | - |
setLoading | (id ) => void | - |
setUnLoading | (id ) => void | - |
updateCache | (ids ) => void | - |