Skip to content

Bolero 0.10

Pre-release
Pre-release
Compare
Choose a tag to compare
@Tarmil Tarmil released this 05 Nov 22:00
· 404 commits to master since this release

Features

  • #82 Calls to attr.classes and attr.``class`` are now combined into a single class attribute.

    div [attr.classes ["a"; "b"]; attr.``class`` "c"; attr.classes ["d"]] []

    becomes:

    <div class="a b c d"></div>
  • #87 ecomp now takes an additional list of attributes as first argument.

  • #89 ProgramComponent now has the same method ShouldRender : 'model * 'model -> bool that ElmishComponent has. The full program is not re-rendered if this returns false after an update. Thanks @laenas!

  • A new type alias Program<'model, 'msg> represents the exact type of Elmish programs used by Bolero. It corresponds to Program<ProgramComponent<'model, 'msg>, 'model, 'msg, Node>.