Calling om/update-state! on children of parameterized list component changes props to root props. Clicking the button on TodoItem changes the props received from the item component from {:todo/id 1, :todo/title got milk?} to {:todo-list/items [{:todo/id 1, :todo/title got milk?} {:todo/id 2, :todo/title bar}]}.
Calling om/update-state! on children of parameterized list component changes props to root props. Clicking the button on TodoItem changes the props received from the item component from
{:todo/id 1, :todo/title got milk?}
to{:todo-list/items [{:todo/id 1, :todo/title got milk?} {:todo/id 2, :todo/title bar}]}
.Similarly, example code from Quick Start tutorial can be changed to behave just like above, by making item component define query.