@reduxjs/toolkit
Version:
The official, opinionated, batteries-included toolset for efficient Redux development
25 lines (23 loc) • 611 B
text/typescript
// This file exists to consolidate all of the imports from the `@reduxjs/toolkit` package.
// ESBuild does not de-duplicate imports, so this file is used to ensure that each method
// imported is only listed once, and there's only one mention of the `@reduxjs/toolkit` package.
export {
createAction,
createSlice,
createSelector,
createAsyncThunk,
combineReducers,
createNextState,
isAnyOf,
isAllOf,
isAction,
isPending,
isRejected,
isFulfilled,
isRejectedWithValue,
isAsyncThunkAction,
prepareAutoBatched,
SHOULD_AUTOBATCH,
isPlainObject,
nanoid,
} from '@reduxjs/toolkit'