Skip to content
This repository was archived by the owner on Jul 19, 2019. It is now read-only.
This repository was archived by the owner on Jul 19, 2019. It is now read-only.

React 0.14 compatiblity #47

@dmr

Description

@dmr

Hi everyone,
two things I had to change to make react-chart compatible with the latest reactjs 0.14 beta:

  1. I removed the getDOMNode() from this.refs.canvass.getDOMNode() core.js line 66.
  2. var el = this.getDOMNode();--> var ReactDOM = require('react-dom'); ReactDOM.findDOMNode(this);

react-chartjs is working fine in reactjs 0.14 beta after that :)
Just wanted to let you know in case anyone is interested.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions