send_message
to a component from the create
method does not work
#1222
Labels
send_message
to a component from the create
method does not work
#1222
Problem
Doing
link.send_message(Msg::Foo);
in thecreate
method of the component silently drops the messageSteps To Reproduce
Apply the following patch (paste it into
git apply
and hit ctrl+d), then run the todomvc example. I'd expect it to log two things on page load aftercreating model
, but it doesn't.Expected behavior
The message should be scheduled for after the component is mounted. This has changed between 0.12 and 0.16.
Environment:
master
Questionnaire
The text was updated successfully, but these errors were encountered: