ReactEventEmitter error after upgrade to react 0.9.0-rc1
I've just upgraded a previously working app, and running the app throws the following error in Chrome:
ReactEventEmitter.js:254
Uncaught TypeError: Cannot read property 'length' of undefined
I don't get a more detailed stack trace though, sorry.
The app was previously working without errors with react 0.8. I've also upgraded the react-touch-lib dependency to 0.0.4, and created a fork of the react-touch-lib repo to update the react dependency to 0.9.0-rc1 - just in case the existing dependency on react 0.8 was causing the issue.
I think https://github.com/petehunt/react-touch-lib/pull/1 should fix this for your use case. Perhaps we should also make the code work if there are no dependencies listed -- but probably all event plugins will have dependencies so maybe best to leave required as-is.
Thanks, that fixes my issue!!