initial UI does not match what was rendered on the server #206
-
In the docs with the complex example, the datatable uses the loader component when data is fetching. I'm trying to get the same outcome, but when using react query if I set the suspense to false. I get the error:
If I turn suspense on then I get the fallback instead of seeing the loader. How did you achieve the loader in datatable? Video with hydration error: Video with default suspense: Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Here's the "complex example" code: https://github.com/icflorescu/mantine-datatable/blob/main/docs/examples/ComplexUsageExample.tsx As you can see, it's using react query. |
Beta Was this translation helpful? Give feedback.
Here's the "complex example" code:
https://github.com/icflorescu/mantine-datatable/blob/main/docs/examples/ComplexUsageExample.tsx
As you can see, it's using react query.