When you use strings that converts into javascript, e.g.
onChange="()=>this.toggleChecked(todoIndex)
this.toggleChecked
Please embrace javascript, not crippled DSLs.
When you use strings that converts into javascript, e.g.
then you lose out on all the static analysis tools that work on javascript, the language. Are there any existing tools that are going to tell you that is undefined? I doubt it.Please embrace javascript, not crippled DSLs.