Closed dustingetz closed 8 years ago
Resolved it by explicitly supporting the old cursor.build api is supported in this branch. We detect this overload of cursor.build by detecting react component instances, and memoize the setState function before building the cursor. The memoizer is required because cmp.setState is not autobound by React.
root cause being
cmp.setState.bind(cmp) !== cmp.setState.bind(cmp)