[reactjs] Inline CSS styles in React: how to implement a:hover?

You can use css modules as an alternative, and additionally react-css-modules for class name mapping.

That way you can import your styles as follows and use normal css scoped locally to your components:

import React from 'react';
import CSSModules from 'react-css-modules';
import styles from './table.css';

class Table extends React.Component {
    render () {
        return <div styleName='table'>
            <div styleName='row'>
                <div styleName='cell'>A0</div>
                <div styleName='cell'>B0</div>
            </div>
        </div>;
    }
}

export default CSSModules(Table, styles);

Here is a webpack css modules example