symdiff-jsx

Extracts classes from JSX files


Keywords
symdiff, plugin, jsx
License
Apache-2.0
Install
npm install symdiff-jsx@0.0.1

Documentation

symdiff-jsx

Build Status Coverage Status

Supports only JSX literals for now.

import React from 'react';
class Test extends React.Component {
    render() {
        var works = false;
        return <div className="this works">
                    <div className={works ? "nope" : "sorry"} />
                </div>;
    }
}