You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to make a React Table on the client side of a Django app, so I'm not using Node.js. I've embedded it in a standard unpkg <script> link but when I go to use react-table in JS files, I get errors: app.js:39 Uncaught ReferenceError: useTable is not defined Uncaught TypeError: Cannot set property 'ReactTable' of undefined
In the tutorials they use import { useTable } from 'react-table' to import the react-table functions, but this is not available when not using Node.js. How would I go about using react-table then without Node.js?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to make a React Table on the client side of a Django app, so I'm not using Node.js. I've embedded it in a standard unpkg
<script>
link but when I go to use react-table in JS files, I get errors:app.js:39 Uncaught ReferenceError: useTable is not defined
Uncaught TypeError: Cannot set property 'ReactTable' of undefined
In the tutorials they use
import { useTable } from 'react-table'
to import the react-table functions, but this is not available when not using Node.js. How would I go about using react-table then without Node.js?Beta Was this translation helpful? Give feedback.
All reactions