message: Table check updates in rows
diff: import React from 'react'
  -import cssModules from 'react-css-modules'
  +import CSSModules from 'react-css-modules'
  import styles from './Table.scss'
  +@CSSModules(styles)
  +export default class Table extends React.Component {
  -const Table = ({ titles, rows, rowRender, textIfEmpty, isLoading, loadingText }) => (
  + shouldComponentUpdate(nextProps, nextState) {
  + const { titles, rows, rowRender, textIfEmpty, isLoading, loadingText } = this.props
  + return (
  + isLoading !== nextProps.isLoading
  + || rows !== nextProps.rows
  + )
  + }
  +
  + render() {
  + const { titles, rows, rowRender, textIfEmpty, isLoading, loadingText } = this.props
  +
  + return (
  <table styleName="table">
  <thead>
  <tr>
  @@ -38,11 +51,11 @@ const Table = ({ titles, rows, rowRender, textIfEmpty, isLoading, loadingText })
  </tbody>
  </table>
  )
  + }
  +}
  Table.defaultProps = {
  textIfEmpty: 'The table is empty',
  loadingText: 'Loading...',
  }
  -
  -export default cssModules(Table, styles)
  