by brulard · 6y ago · 0 comments
But take the case of an app using local state, this logic if indeed separable from UI, could be coded as functions, rather than within imperative object 'stores'. And these functions would obviously be just as testable.
If it’s read-only, you can just declare it as a constant. No need to add a state management library.