Closed konsalex closed 1 year ago
@konsalex Try out the newest TanStack Table v8.7.0
and let us know if you are still running into problems here
We think PR https://github.com/TanStack/table/pull/4552 should have fixed this issue.
@KevinVandy probably it's fixed as I can see the diff:
https://cdn.jsdelivr.net/npm/@tanstack/react-table@8.7.0/build/lib/index.js
https://cdn.jsdelivr.net/npm/@tanstack/react-table@8.5.22/build/cjs/react-table/src/index.js
Thank for the ping
Describe the bug
Not sure if this is expected, but trying to implement
react-table
v8 inside Storybook and I have a problem.By default it tries to import UMD, which is not supported, and when I try to import manually the CommonJS build:
I get an error:
And I can see from the build files: https://cdn.jsdelivr.net/npm/@tanstack/react-table@8.5.22/build/cjs/react-table/src/index.js
That there is an ESM import from the
table-core
package. Is this the expected behaviour?Your minimal, reproducible example
https://codesandbox.io/s/kind-mopsa-0egd7p?file=/src/components/Button.stories.tsx
Steps to reproduce
Expected behavior
No errors in importing the package
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
All of them
react-table version
v8.5.22
TypeScript version
No response
Additional context
No response
Terms & Code of Conduct