react icon indicating copy to clipboard operation
react copied to clipboard

To-do list application on React home page not working

Open kimberley-p opened this issue 12 years ago • 3 comments

I'm not sure if this is the best place to report it but the 'An Application' TODO example on the react homepage (http://facebook.github.io/react/) seems to have a bug.

On adding a new item, it in fact adds two - the one you've created and an empty

  • .

    In JSFiddle it works fine so I don't know whether it's a conflict with something else on the page.

    todo-on-react

    These are my setup details - http://supportdetails.net/2Q6JQMQS

    kimberley-p avatar Feb 04 '14 08:02 kimberley-p
  • Thanks for reporting -- this is a dupe of #916.

    sophiebits avatar Feb 04 '14 08:02 sophiebits

    (Also turns out there was an unintentional update to the website making it use code from master instead of the release -- just fixed in 5af1ac1 so the website should work again now.)

    sophiebits avatar Feb 04 '14 08:02 sophiebits

    can i send state of one component to another method as a parameter like onClick={this.props.handle(this.state)} ..??

    bhargavgunreddy avatar Feb 05 '14 07:02 bhargavgunreddy