- Decouple form from table
- Gracefully handle page refreshes
- Create sharable URLs
<Form />
component updates the URL with useSearchParams
hook. <ConnectedTable />
uses useSearchParams
to react to changes in the URL, fetching new data, and passing it to <Table />
.