const store = configureStore({reducer: rootReducer})
You'd still have to pass in options for whatever persistence addon you want to use, but that would be something like:
const store = configureStore({ reducer: rootReducer, middleware: [...getDefaultMiddleware(), myPersistenceMiddleware] })
[0] https://redux-toolkit.js.org/api/getDefaultMiddleware#includ...