So many frameworks do this, and I can’t understand why [1]:
onClick: "checkTodoItem()"
Why? What compells people to go ahead and say: yes, we’re writing everything in JS/TS which has perfectly fine support for actual functions. That’s why we’re going to arbitrarily use strings that evaluate to function calls in some parts of our framework.[1] See views https://typescene.dev/docs/introduction/overview