Skip to content
New issue

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

Uncaught TypeError: (0 , _reactTable.useTable) is not a function #1457

Closed
scottc11 opened this issue Aug 16, 2019 · 4 comments
Closed

Uncaught TypeError: (0 , _reactTable.useTable) is not a function #1457

scottc11 opened this issue Aug 16, 2019 · 4 comments

Comments

@scottc11
Copy link

scottc11 commented Aug 16, 2019

just a heads up, the default installation using npm install react-table installs version 6.10.0, but the documentation is for version 7 I believe?

I had issues following the examples and ran into this StackOverflow question which solved the problem.

@scottc11 scottc11 changed the title import { useTable } from 'react-table' Uncaught TypeError: (0 , _reactTable.useTable) is not a function Aug 16, 2019
@dkozma
Copy link

dkozma commented Aug 16, 2019

@scottc11 You should be able to run npm install react-table@next to install the latest v7 version.

@tannerlinsley
Copy link
Collaborator

Yeah. We should probably update the docs to have the @next. Just need a disclaimer too that it's alpha.

@dlipeles
Copy link

+1 to ^ , I was seeing import errors on useSortBy since it's not in the latest version, upgrading to @next fixed it

@tannerlinsley
Copy link
Collaborator

This will be updated when we release beta soon. Closing for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants