I'm trying to reproduce issues I'm finding when trying to use react instead of preact (and will also try to reproduce the problems I encounter with preact) and I find that replacing preact with react in the todomvc example results in an app that compiles but doesn't work. Keyboard events in the input field are not registered (which is what I found in my app too).
I don't know if its related but when using spy from Debug.Trace on the event it seems that the preact event has the nativeEvent key while the react version doesn't (see screenshots below).
Hi there,
I'm trying to reproduce issues I'm finding when trying to use react instead of preact (and will also try to reproduce the problems I encounter with preact) and I find that replacing preact with react in the
todomvc
example results in an app that compiles but doesn't work. Keyboard events in the input field are not registered (which is what I found in my app too).I don't know if its related but when using
spy
fromDebug.Trace
on the event it seems that thepreact
event has thenativeEvent
key while the react version doesn't (see screenshots below).Any idea of what's going on?
Cheers,
Jun