UNPKG

@knine-sdk/react

Version:

React helpers for Knine Finance projects. Part of Knine JS SDK

12 lines (7 loc) 416 B
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var useWrapperSWR = require('./useWrapperSWR.js'); const useWrapperSWRImmutable = (key, fetcher, config) => { return useWrapperSWR.useWrapperSWR(key, fetcher, Object.assign({ revalidateIfStale: false, revalidateOnFocus: false, revalidateOnReconnect: false }, config)); }; exports.useWrapperSWRImmutable = useWrapperSWRImmutable;