Skip to content

Commit

Permalink
Add information about the new html macro syntax with move modifier
Browse files Browse the repository at this point in the history
  • Loading branch information
therustmonk committed Jun 16, 2018
1 parent 4ed0376 commit 9441df8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
Instead of a context a link to an environment provided with `Component::create` call.
All examples had changed.

- `html!` macro adds `move` modifier and the type of event for every handler (#240). Use
`<input oninput=|e| Msg::UpdateEvent(e.value), />` instead of obsolete
`<input oninput=move |e: InputData| Msg::UpdateEvent(e.value), />`.

### New features

- Added `Agent`s concept. Agents are separate activities which you could run in the same thread
Expand Down

0 comments on commit 9441df8

Please sign in to comment.