Query Multiple Resources at Once
Is it possible to query multiple tables at once in order to avoid potential side-effects with different number of renders and improve efficiency? See:
const { dataGridProps } = useDataGrid();
const resources = supabaseColumns
.filter((column) => column.foreign_key_reference)
.map(({ column_name }) => `${column_name.split("_")[0]}s`);
// TODO: How to pass resources which is an array of resource to query
// multiple table at once.
// const { data: records, isLoading } = useMany({});