Bolero 0.10
Pre-release
Pre-release
Features
-
#82 Calls to
attr.classes
andattr.``class``
are now combined into a singleclass
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 methodShouldRender : 'model * 'model -> bool
thatElmishComponent
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 toProgram<ProgramComponent<'model, 'msg>, 'model, 'msg, Node>
.