https://codesandbox.io/s/overmind-counter-forked-d7o1h?file=/src/index.js
I am using a StateMachine based on what I found in the documentation, and depending on how I try to instantiate it, it will fail when I call send() with either state.send is not a function (if my config includes the state machine as state: refresher.create...) or tree.enableMutations is not a function if I have included the machine in a namespace or a field of state.
I noted that the statemachine guide included useOvermind. Hasn't that been removed? I did check to make sure I was on the Overmind 28 docs.
https://codesandbox.io/s/overmind-counter-forked-d7o1h?file=/src/index.js
I am using a StateMachine based on what I found in the documentation, and depending on how I try to instantiate it, it will fail when I call send() with either
state.send is not a function(if my config includes the state machine as state: refresher.create...) ortree.enableMutations is not a functionif I have included the machine in a namespace or a field ofstate.I noted that the statemachine guide included useOvermind. Hasn't that been removed? I did check to make sure I was on the Overmind 28 docs.