GWTReact / gwt-react

GWT Java bindings for React
MIT License
91 stars 17 forks source link

Redux Todos With Undo causes class cast error (only in production compile) #1

Closed pstockley closed 8 years ago

pstockley commented 8 years ago

The Redux Todos With Undo example causes a class cast error on startup. This doesn't happen in Super-Dev mode, only for a production compile. The current workaround the example uses is to turn off class cast checking.

Needs investigation, may turn out to be a compiler issue.

pstockley commented 8 years ago

This was actually a bug in the sample. The state was defined as JsType instead of JsType(isNative=true).