Skip to content

React code is outdated #6

@exogen

Description

@exogen

I don't mean to be "that guy" and nitpick the benchmarked code, but... I'm gonna be.

The TodoMVC React code was written for an old version of React. If you actually pop it open and try using it, it throws an error (try editing an item). React.findDOMNode hasn't been a thing since React 0.13; that should be changed to ReactDOM.findDOMNode.

Hand-optimized React 15 code would also switch all the components from React.createClass to extending React.Component, which is the new hotness and (AFAIK) renders faster. This would necessitate adding another Babel transform to the React demo.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions