Using CanJS 2.2.9!
By clicking reload, the parent component will set reload
to true
. This gets passed all the way down to the sub-component. The sub-component then fetches some data when reload
is set to true
. When data is fetched, the sub-component will set reload
to false
so a refetch is possible again later.
Unfortunately, once the sub-component sets reload
to false
the live binding doesn't seem to continue back up the tree.