Resolve "cannot call class as a function" error (#1050)
Resolve "cannot call class as a function" error (#1050)

When rendering a class component using the `class extends React.Component {}` syntax, you would get an error `TypeError: Cannot call a class as a function` because the check to determine whether a component was a class component was insufficient. It seems pointless to even have a check, however, because the JSX syntax can render both class and functional components.
tannerlinsley/react-table,react-tools/react-table