| > That does not sound like you are up-to-date with what the official redux tutorials currently recommend for writing modern redux. https://redux.js.org/tutorials/fundamentals/part-8-modern-re... --- start quote --- import { combineReducers } from 'redux' import { createStore, applyMiddleware } from 'redux' import thunkMiddleware from 'redux-thunk' const composedEnhancer = composeWithDevTools(applyMiddleware(thunkMiddleware)) import { createSlice } from '@reduxjs/toolkit' ...createSlice will automatically generate action creators --- end quote --- It's.... it's not better in any way? > Redux goes the "signalling" way, MobX goes the "observing" way, both have their benefits and drawbacks. I like Svelte's approach. Where they figure out which things are being observed or changed at compilation/transpilation time and generate code for that case specifically. |
In the end you are left with only
`import { configureStore, createSlice } from '@reduxjs/toolkit'`