chore: Add reaction function tracing to todo demo.