Can not use react-table
See original GitHub issueDescribe the bug I would like to use react-table for displaying data in table. But seem to a conflict of babel version.
To Reproduce Steps to reproduce the behavior:
- Install react-table: npm install --save react-table
- The program will fail when run any test (during npm start/build/…). The error is:
` FAIL src/components/AboutPage.spec.js Test suite failed to run
Requires Babel "^7.0.0-0", but was loaded with "6.26.3". If you are sure you have a compatible version of @babel/core, it is likely that something in your build process is loading the wrong version. Inspect the stack trace of this error to look for the first entry that doesn't mention "@babel/core" or "babel-core" to see what is calling Babel.
at throwVersionError (node_modules/@babel/helper-plugin-utils/lib/index.js:65:11)
at Object.assertVersion (node_modules/@babel/helper-plugin-utils/lib/index.js:13:11)
at _default (node_modules/@babel/plugin-proposal-class-properties/lib/index.js:81:7)
at node_modules/@babel/helper-plugin-utils/lib/index.js:19:12
at Array.map (<anonymous>)
` 3. Because of that I can not create test or build the program
Request Please tell me how to use react-table with slingshot; I think there will be a way to specific jest to load babel 7.0.0
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Module not found: Can't resolve 'react-table/react-table.css'
I have create the app using create-react ...
Read more >react-table - npm
Start using react-table in your project by running `npm i react-table`. There are 1543 other projects in the npm registry using react-table.
Read more >TanStack/table: Headless UI for building powerful ... - GitHub
TanStack Table is a headless table library, which means it does not ship with ... If you want a ready-to-use component-based table with...
Read more >React Table Tutorial:How to implement useTable and useFilter
Learn about React Table v7 and its new features in this React Table tutorial. Moreover, explore how can you implement useTable and useFilter ......
Read more >API Reference: useTable | React Table - TanStack
useTable is the root hook for React Table. To use it, pass it with an options object with at least a columns and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Probably best to do both.
Would you like to put a PR up to update the jest dependency?