Skip to content

0.28.1

Latest

Choose a tag to compare

@AlexGalays AlexGalays released this 12 Dec 17:46
· 15 commits to master since this release

Fixes

  • Is it now possible to send a message synchronously from within connect():
function connect({ on, msg, state }: ConnectParams<{}, State>) {
  on(refresh, () => ({ refreshed: true }))
  msg.send(refresh())
}

Enhancements

  • Calling the Component function now gives you a special VNode type with added properties. This is most useful in tests to read the component state in a type safe manner.