Brand new to React (looked up on wikipedia two days ago) so downloaded current version v0.13.3 from home page. Trying to find a checkbox example (check a box, something happens - like a label appears or something). This one works in JSFIDDLE. Discovering with much frustration that that things are often deprecated on new releases of React, so older examples don't work anymore. On this one, the browser says
Uncaught TypeError: Cannot read property '__reactAutoBindMap' of undefined`)
which is not even in the code. Looked at bunches of articles, tried bunches of things like
React.renderComponent → React.render
Anyone know the magic tricks required to make this example work with the current version of v0.13.3?
Or anyone know of a working checkbox example in v0.13.3?
Thanks.
Aucun commentaire:
Enregistrer un commentaire