Note: This example executes the expensive function only when you click on the Increment button, and not when you add a todo.