💡 Idea: Don’t write the store interface by hand. · pmndrs/zustand · Discussion #3253
When using Zustand the “classic way”, we often define an interface for the store: interface BearState { bears: number increase: (by: number) => void } const useBearStore = create<BearState>()((set)...
GitHub