Skip to content

0.6.0-preview7

Pre-release
Pre-release
Compare
Choose a tag to compare
@JordanMarr JordanMarr released this 26 Jan 15:56
· 182 commits to master since this release
ec9bcbc

This pre-release contains:

A new overload added to useElmish hook

  • initArg no longer needs to be specified when initArg is unit.

So this:

let model, dispatch = ctx.useElmish(init, update, ())

Can also be written as this:

let model, dispatch = ctx.useElmish(init, update)

A performance optimization