pancake-frontend
pancake-frontend copied to clipboard
fix: 404 not found intermittently when viewing liquidity
PR-Codex overview
This PR adds a caching mechanism to improve performance in the usePools
hook by introducing a PoolCache
class and a cachedPoolFallback
function.
Detailed summary
- Added
PoolCache
class with methods to cache and retrieve pools - Introduced
cachedPoolFallback
function to handle cached pool retrieval and retry logic - Utilized
useRef
anduseCallback
hooks for caching and retry tracking
✨ Ask PR-Codex anything about this PR by commenting with
/codex {your question}
⚠️ No Changeset found
Latest commit: e6381475ef77c5b6043fc12c42b7833de8db862c
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
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:27am |
6 Skipped Deployments
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
aptos-web | ⬜️ Ignored (Inspect) | Visit Preview | Jul 22, 2024 8:27am | |
blog | ⬜️ Ignored (Inspect) | Visit Preview | Jul 22, 2024 8:27am | |
bridge | ⬜️ Ignored (Inspect) | Visit Preview | Jul 22, 2024 8:27am | |
games | ⬜️ Ignored (Inspect) | Visit Preview | Jul 22, 2024 8:27am | |
gamification | ⬜️ Ignored (Inspect) | Visit Preview | Jul 22, 2024 8:27am | |
uikit | ⬜️ Ignored (Inspect) | Visit Preview | Jul 22, 2024 8:27am |