Skip to content

Releases: matthewp/robot

[email protected]

14 Jan 12:50
99037e3
Compare
Choose a tag to compare

Minor Changes

  • 4f6fb69: Autocomplete for service.send()

    This makes it so that the event name in service.send(event) is inferred from the transitions used to create the machine.

[email protected]

14 Jan 13:06
92cb118
Compare
Choose a tag to compare

Minor Changes

  • efbddbe: Typed event for send() in hooks

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

    const [state, send] = useMachine(machine);
    
    send("this-is-typed");

[email protected]

14 Jan 13:06
92cb118
Compare
Choose a tag to compare

Minor Changes

  • efbddbe: Typed event for send() in hooks

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

    const [state, send] = useMachine(machine);
    
    send("this-is-typed");

Patch Changes

[email protected]

14 Jan 12:50
99037e3
Compare
Choose a tag to compare

Minor Changes

[email protected]

14 Jan 13:06
92cb118
Compare
Choose a tag to compare

Minor Changes

  • efbddbe: Typed event for send() in hooks

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

    const [state, send] = useMachine(machine);
    
    send("this-is-typed");

Patch Changes

[email protected]

14 Jan 13:05
92cb118
Compare
Choose a tag to compare

Minor Changes

  • efbddbe: Typed event for send() in hooks

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

    const [state, send] = useMachine(machine);
    
    send("this-is-typed");

Patch Changes

[email protected]

27 Dec 19:55
8aabe0b
Compare
Choose a tag to compare

Patch Changes

  • 9fbdbcb: Set the most deeply nested current service to current
  • 0409089: Documentation for advanced use of 'invoke()'

[email protected]

27 Dec 19:55
8aabe0b
Compare
Choose a tag to compare

Patch Changes

[email protected]

20 Nov 12:25
2b92e9b
Compare
Choose a tag to compare

Patch Changes

  • cc17481: Add debug to package exports

[email protected]

10 Nov 15:12
Compare
Choose a tag to compare

Major Changes

  • 52742ab: Call onChange callbacks for immediate states too