table icon indicating copy to clipboard operation
table copied to clipboard

React build shows empty rows

Open vinayakshahdeo opened this issue 5 years ago • 7 comments

Describe the bug (required)

This is a very strange issue but I was using react-table 7.0.0.rc16 and I recently upgraded to react-table 7.0.1 the problem is my data works in dev mode but as soon I create a react build it wont render anything I would like to know why and I am attaching my package.json in sandbox link for the same.

Provide an example via Codesandbox! (required) https://codesandbox.io/s/quizzical-paper-hmzxh?file=/src/App.js to reproduce the issue.

Steps To Reproduce (required) whenever the build is deployed it renders an empty table

Expected behavior (Recommended) table should render with data

Desktop (please complete the following information):

  • OS: [ubuntu 16.04]
  • Browser [mozilla]
  • Version [84.0.2]

Additional context here is a link to the deployed code https://csb-hmzxh-ap5fj53r4.vercel.app/

vinayakshahdeo avatar Jan 29 '21 12:01 vinayakshahdeo

@vinayakshahdeo did you work out a fix for this in the end? I am experiencing the same issue on version 7.6.3 (Chrome)

AxelThomsonEk avatar Feb 16 '21 02:02 AxelThomsonEk

Hi guys, I am experiencing the same problem. Locally my react table works fine, but when I use it on a build version, the rows come out empty. After spending 1 week working on a dynamic table and ready to present it to my client, I moved it to build only to see that no row was showing up, despite all the functionality (filters, etc) working as displayed by the row count attribute.

nuno-ferrao avatar Feb 26 '21 14:02 nuno-ferrao

I am also facing this issue. Both the Header and Cells are empty when i build for production but everything works fine in dev mode. Can someone pls help out?

horppe avatar Mar 01 '21 13:03 horppe

I was also facing this issue with version 7.7.0. It worked perfect locally, but in production build I couldn't see anything. Downgrading to 7.0.2 helped.

kamskr avatar Aug 25 '21 09:08 kamskr

I had to downgrade too

vinayakshahdeo avatar Aug 28 '21 20:08 vinayakshahdeo

This issue is being marked as stale (no activity in the last 14 days)

github-actions[bot] avatar Apr 08 '22 17:04 github-actions[bot]

This issue has been detected as stale and automatically closed. It's very likely that your issue has remained here this long because it would require breaking changes to v7. React Table v8 is currently in alpha (soon beta!) and already contains bug fixes, performance improvements and architectural changes that likely address this issue.

  • If your v7 issue has been previously labeled as requiring breaking changes, please try the new v8 alpha/beta releases
  • If your v7 issue has not already been labeled as a breaking change, open a new issue.
  • If this was a v8 issue and was closed by mistake, please reopen or leave a comment below.

github-actions[bot] avatar Apr 08 '22 17:04 github-actions[bot]