We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
styled-components
When upgrading to 7.6.2 from 7.2.1, the DataTable no longer renders.
Steps to reproduce the behavior:
Warning: React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: object.
Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object.
No error and page renders
I was able to replicate in Codepen but I got a different error:
https://codepen.io/TigerWolf/pen/NWQpxpj
TypeError: l.current is null useState React fo index.es.js:383 Ro index.es.js:383
This even happens if I just use the example code from the documentation
import DataTable from 'react-data-table-component'; const columns = [ { name: 'Title', selector: row => row.title, }, { name: 'Year', selector: row => row.year, }, ]; const data = [ { id: 1, title: 'Beetlejuice', year: '1988', }, { id: 2, title: 'Ghostbusters', year: '1984', }, ] function MyComponent() { return ( <DataTable columns={columns} data={data} /> ); };
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Issue Check list
styled-components
Describe the bug
When upgrading to 7.6.2 from 7.2.1, the DataTable no longer renders.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No error and page renders
Code Sandbox, Screenshots, or Relevant Code
I was able to replicate in Codepen but I got a different error:
https://codepen.io/TigerWolf/pen/NWQpxpj
This even happens if I just use the example code from the documentation
Versions (please complete the following information)
Additional context
The text was updated successfully, but these errors were encountered: