UNPKG

@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

13 lines 519 B
"use strict"; exports.__esModule = true; exports.mainApi = void 0; var tslib_1 = require("tslib"); var react_1 = require("@reduxjs/toolkit/query/react"); var custom_fetch_base_1 = tslib_1.__importDefault(require("./custom-fetch-base")); exports.mainApi = (0, react_1.createApi)({ reducerPath: 'mainApi', baseQuery: custom_fetch_base_1["default"], tagTypes: ['ReduxHistoryItems', 'Companies', 'Projects', 'Posts', 'Users'], endpoints: function () { return ({}); } }); //# sourceMappingURL=main-api.js.map