Skip to content

[BUG] Statemachine errors on send(), possible documentation issue #534

@david-morris

Description

@david-morris

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.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions