AlexsLemonade / refinebio-web

Refinebio Web
https://staging.web.refine.bio
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

378 - Use query.type for component props and update data fetching for Compendia #400

Closed nozomione closed 6 days ago

nozomione commented 1 week ago

Issue Number

Epic: #366

Closes #378 (Stacked issue 3)

Base PR branch: #399

Purpose/Implementation Notes

I've updated the implementation to utilize query.type and removed the type from the tab-related sub-components. Additionally, I've moved the data fetching location from Download (on every tab switch - each tab fetches its data separately) to [type] (only fetch once on page load) to reduce API calls and improve UI performance.

Changes include:

Types of changes

Functional tests

N/A

Checklist

Screenshots

N/A

vercel[bot] commented 1 week ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
refinebio-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 30, 2024 10:07pm