Closed: ReactJS controlled input element not updating


I am new to React and still trying to wrap my head around all the concepts involved. However, I just implemented a controlled input component to test the waters and it doesn't update on input. Using ImmutableJS Record and ES6 (via BabelJS). Here's a gist of the source code


Stupid me. The onChange handler was getting the wrong context bound to it and hence causing the weird errors. The solution is to bind this to the change handler, like so:

This video can help you solving your question :)
By: admin