React - Cannot read property 'call' of undefined
Your code is fine. This is likely a bug with JSBin, and how it handles transpilation with Babel. If you add the pragma // noprotect
to the top of your code you will see that it works.
Your code is fine. This is likely a bug with JSBin, and how it handles transpilation with Babel. If you add the pragma // noprotect
to the top of your code you will see that it works.