Download Latest Version 1.12.0 source code.zip (446.4 kB)
Email in envelope

Get an email when there's a new version of miso

Home / 1.11.0
Name Modified Size InfoDownloads / Week
Parent folder
1.11.0 source code.tar.gz 2026-05-25 315.6 kB
1.11.0 source code.zip 2026-05-25 378.9 kB
README.md 2026-05-25 1.6 kB
Totals: 3 Items   696.1 kB 0

🍜 1.11.0

See the haddocks, miso repo and org for more information on how to use props in miso.

✨ Highlights

The major feature added in 1.11.0 is React-style props. This allows child Component to inherit parent state changes automatically (children will re-render on props changes made by the parent). See the miso-props repo for an example. The core types are now parameterized by a new props type variable. Props are read-only and accessible via the view :: props -> model -> View model action function, along with read-only access in update via getProps :: MonadReader props m => m props.

To use props, use the mountWithProps function.

The core miso DSL has been extended as shown below.

:::haskell
data Component parent props model action
data Effect parent props model action
data ComponentInfo parent props
data ComponentState parent props model action

view :: props -> model -> View model action
getProps :: MonadReader props m => m props

What's Changed

Full Changelog: https://github.com/dmjio/miso/compare/1.10.0...1.11.0

Source: README.md, updated 2026-05-25