8 ms·
I kinda feel like this might be a lot simpler if you could use it mobx style, i.e. useEffect(state => { // reading state.count registers a dependency
by mst 8y ago
I kinda feel like this might be a lot simpler if you could use it mobx style, i.e.
useEffect(state => {
// reading state.count registers a dependency on the count
});
but much though I've been enjoying mobx for model-ish things w/react I wonder if that would end up being too much spooky-action-at-a-distance