1.React honws how to bubble and capture events according to the spec,and events passed to your event handler are guaraneed to be condidtent with the W3C spec,regardless of which brower you're using. if you'd like to use React a couch device such as a
import React from 'react'; import Tools from '../../tools/index' export default class PercentageRing extends React.Component { constructor(props){ super(props); } componentDidMount() { let canvas = this.refs.ring; let width = canvas.offsetWidth; let