Is there a good way to do an interactive table in Remix that upgrades nicely on hydration, but has a good DX?
I love how forms... I mean Forms in Remix have both excellent UX and DX. I'm not sure how to do something similar with tables that:
- allow clicking on a row to select it, then clicking action buttons below the row to operate on the selected row(s)
- update the UI based on the row selection (right now I have a dropdown that populates with compatible options based on the selected row's data)
Right now, I'm thinking of duplicating all the buttons-below-the-table as buttons in each row to take that action on the row. Not sure about the "update some other UI based on the selected row", or how to have a row selectable on click before JS arrives. Only thing that comes to mind is having all cell contents wrapped in anchor tags, which is kinda gross 😦