Transformer

export default () => <h1>HHHH</h1>

HHHH

// 中文测试xx
// import React from 'react'
const PureText = () =>
    <div>Text</div>;

import React from 'react';

export default class Demo extends React.Component {
    componentDidMount() {
        this.t = setInterval(() => this.forceUpdate(), 500)
    }
    componentWillUnmount() {
        clearInterval(this.t)
    }
    render() {
        return (
            <div>
                <h3>This is cool times {Date.now()}</h3>
                <PureText/>
            </div>
        )
    }
}

This is cool times 1510245239808

Text
// 中文测试xx
// import React from 'react'
const PureText = () =>
    <div>Text</div>;

import React from 'react';

export default class Demo extends React.Component {
    componentDidMount() {
        this.t = setInterval(() => this.forceUpdate(), 500)
    }
    componentWillUnmount() {
        clearInterval(this.t)
    }
    render() {
        return (
            <div>
                <h3>This is cool times {Date.now()}</h3>
                <PureText/>
            </div>
        )
    }
}

This is cool times 1510245239834

Text