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.10.0
Name Modified Size InfoDownloads / Week
Parent folder
1.10.0 source code.tar.gz 2026-05-18 312.7 kB
1.10.0 source code.zip 2026-05-18 376.0 kB
README.md 2026-05-18 3.4 kB
Totals: 3 Items   692.1 kB 0

🍜 1.10.0

See the haddocks, miso repo and org for more information.

✨ Highlights

The major feature added in 1.10 is React-style fragments (VFrag). Horizontal groupings of nodes can now be defined and inlined into the DOM. This is equivalent to the React Fragment feature in React. This quality of life improvement moves us closer to parity with the React specification and allows Components to return list of nodes (to avoid extraneous DOM <div> wrappers).

:::haskell
view :: model -> View model action
view = \_ -> fragment [ "a", "b", div_ [ id_ "container" ] [ "content" ] ]

This feature is now in use in most example code. See the VFrag portion of the haddocks for more information.

Also within this release there were additional helper functions added for View templating, GHC version bumps, the mailChildren combinator and the generics-lens field combinator (Miso.Lens.Generic) courtesy of @goosedb. See below for more information.

What's Changed

New Contributors

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

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