trueadm / t7

Lightweight virtual DOM templating library
900 stars 31 forks source link

Cannot call event from Fixes #26 #32

Open uniho opened 7 years ago

uniho commented 7 years ago

We cannot use event handling from Fixes #26. eg.

<button onClick=${click} /> 

The React Error Decoder says,

Expected onClick listener to be a function, instead got type string
trueadm commented 7 years ago

@uniho Is there a fix that you've found, I'd be happy to take a PR :)