Find Redux stores

Proprietary

Finds the Redux stores created with createStore or Redux Toolkit's configureStore and records whether each one's setup can move to zustand: a configureStore call whose reducer is an object of createSlice reducers without extraReducers, and no other option, is a candidate. Every other store is recorded with the reasons it is not, such as a legacy createStore, custom middleware, enhancers, preloaded state or a hand-written reducer. The components and modules that use a store are not checked.

org.openrewrite.react.search.find-redux-stores
mod run . --recipe=org.openrewrite.react.search.find-redux-stores

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.