@rtbjs/use-state
Version:
`@rtbjs/use-state` is a state management tool that can act as a local state and be easily turned into a global redux state. It is an innovative approach to state management that combines the advantages of both React's useState and Redux's state management
9 lines • 366 B
JavaScript
import { createApi } from '@reduxjs/toolkit/query/react';
import customFetchBase from './custom-fetch-base';
export var mainApi = createApi({
reducerPath: 'mainApi',
baseQuery: customFetchBase,
tagTypes: ['ReduxHistoryItems', 'Companies', 'Projects', 'Posts', 'Users'],
endpoints: function () { return ({}); }
});
//# sourceMappingURL=main-api.js.map