Category "rematch"

Jest tests breaks when calling getState outside a component in React

A bunch of my tests suddenly started breaking when I use store.getState() inside a function in React. If I log the store, the store exists but it is still break

RematchJS - how can I access the state in a model's effect without sending a payload to dispatch

I'm using RematchJS and I'd like to access the state in a model effect without sending a payload to the effect. The model looks something like this: export cons