Skip to content

Commit

Permalink
Add changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewp committed Jan 14, 2025
1 parent 11f39ae commit 8de5bb4
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .changeset/green-pants-search.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
"robot-hooks": minor
"haunted-robot": minor
"preact-robot": minor
"react-robot": minor
---

Typed event for send() in hooks

This adds the same typed event support for `send()` from hooks, for ex in React:

```ts
const [state, send] = useMachine(machine);

send('this-is-typed');
```

0 comments on commit 8de5bb4

Please sign in to comment.