Performance Question: Supabase views vs Individual Component Queries

Best Practices

I have a scenario where I have to show data from multiple tables. Which is more performant?

Option A: Creating a view in Supabase and populating the data from the Supabase view.

Option B: Querying the data from the front end by making each separate section into a component and querying a different table in each component?

I think I know the answer, but I'm here to make sure.


1
5 replies