pancake-frontend icon indicating copy to clipboard operation
pancake-frontend copied to clipboard

perf: Don't fetch chain merkl data for each pool when it is not supported

Open memoyil opened this issue 11 months ago • 3 comments

Merkl currently not supported in bsc therefore no need fetch for each pool


PR-Codex overview

The focus of this PR is to enhance the useMerkl hook by adding a new version of data fetching, improving data handling, and optimizing the refresh mechanism.

Detailed summary

  • Added useQueryClient for data management
  • Updated data fetching with a new version
  • Improved data handling for better performance
  • Optimized the refresh mechanism for efficient updates

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

memoyil avatar Mar 13 '24 12:03 memoyil

⚠️ No Changeset found

Latest commit: df91a82be65d820a1dac521403a3cf9131b1feb1

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

changeset-bot[bot] avatar Mar 13 '24 12:03 changeset-bot[bot]

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

Name Status Preview Comments Updated (UTC)
web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 22, 2024 8:16am
6 Skipped Deployments
Name Status Preview Comments Updated (UTC)
aptos-web ⬜️ Ignored (Inspect) Visit Preview Jul 22, 2024 8:16am
blog ⬜️ Ignored (Inspect) Visit Preview Jul 22, 2024 8:16am
bridge ⬜️ Ignored (Inspect) Visit Preview Jul 22, 2024 8:16am
games ⬜️ Ignored (Inspect) Visit Preview Jul 22, 2024 8:16am
gamification ⬜️ Ignored (Inspect) Visit Preview Jul 22, 2024 8:16am
uikit ⬜️ Ignored (Inspect) Visit Preview Jul 22, 2024 8:16am

vercel[bot] avatar Mar 13 '24 12:03 vercel[bot]

Typescript errors check

257 ts errors detected in all the codebase 😟.

Well done: no ts errors in files changed in this PR! 🎉

chefjackson/action-check-typescript

github-actions[bot] avatar Mar 13 '24 12:03 github-actions[bot]