Closed roll closed 2 days ago
Here is an example from another project (note that it might be more complex in ODE because of multiple stores):
import { create, StateCreator } from "zustand" import { devtools } from "zustand/middleware" export function createStore<TState>(stateCreator: StateCreator<TState>) { return create<TState>()(devtools(stateCreator)) }
Also, there is a new dedicated Zustand tool as well - https://medium.com/@itsnancyhuang/the-new-zustand-dev-tool-15613144b585
Overview
Here is an example from another project (note that it might be more complex in ODE because of multiple stores):
Also, there is a new dedicated Zustand tool as well - https://medium.com/@itsnancyhuang/the-new-zustand-dev-tool-15613144b585