r/nextjs•
Bubbly-Cat761

Is there seriously no way to load data in a client side Dialog without fetching the data client side in NextJS?

Discussion

Requirement:

- We have a table with rows where each have a button that opens a dialog.

- The dialog is opened using state so the server/client boundry is passed.

- The dialog should load some data for that specific row. As there are many rows we cannot load stuff upfront. That would be idiotic.

- The data in the dialog have crud operations, meaning invalidation is required.

Now is the only way to achieve something like this to load data client side?

Posted Sep 8, 2026, 5:02 PM UTC

041
Loading comments…