[simple-todos] explain what happens behind reactive data?


#1

Hi there,

Learning via the tutorial and having a blast. I think I could benefit from getting a better idea of how reactive data is working, though. Could someone walk me through it?

As an example, I’m curious how the simple-todo “incompleteCount” variable works. It is set as a prop in the createContainer() func, and the checkbox that kicks everything off is inside the Task component.

Can someone walk me through what happens behind the scenes when a task’s checkbox is clicked -> the DOM element being re-rendered?

Thanks very much!

M.Epler