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 da8fb23
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 value=&self.name, oninput=|e| Msg::UpdateEvent(idx, e.value), />` instead of obsolete
`<input value=&self.name, oninput=move |e: InputData| Msg::UpdateEvent(idx, 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 da8fb23

Please sign in to comment.