React-data-grid css is not loading correctly

115 Views Asked by At

Today we encoutered problem in production. For some reason our css is not loading correctly on the first render but after updating the path a couple of times it works just fine. As we debugged we undestood that the problem comes from the fact that a chunk is not loaded and css not being applied. Maybe it's because the css can't keep up with js loading times or something but this is really strange because it came out of nowhere with no changes from us. The video showcases problem, it's blured because of data privacy but you can still see the problem. In the start css is not loaded after that i open a order return back and the table renders just fine.

Link

The library is react-data-grid and it's styles is not loading correctly here. We tried importing it in app, index but nothing happens. the chunk itself is loaded in network tab but as we can guess it's not working in the render. enter image description here

0

There are 0 best solutions below