Zustand question
i know that we should get count by
useStore((state)=>state.count)
right? But what about increment and decrement function, cant i just use useStore.getState.increment
? It is not like the inrement function re-render is needed for reactivity, there is nothing that depends on it?2 Replies