Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf: add beta deployments (part 1: improvements) #533

Merged
merged 11 commits into from
Feb 12, 2024

Conversation

dib542
Copy link
Collaborator

@dib542 dib542 commented Feb 12, 2024

This PR improves general performance of fetching and token utility computation which caused great losses of frame rate when attempting to run the app on mainnet data in the upcoming beta deployment:

  • doesn't attempt to look up every denom from the chain
    • if the data was already found on chain-registry then trust that data
  • makes usage of hooks with react-query and useSWR libraries to be more consistent with a new combined return Type
  • reduces re-computation of many compute intensive chain-registry util class instances by caching these with useSWR
    • this is very noticeable with mainnet data where several hundred token utility classes can be recomputed often.
  • updates react-query to a non-alpha version

Base automatically changed from 509-improve-token-denom-handling-for-ibc-tokens-fix-2 to main February 12, 2024 19:12
@dib542 dib542 force-pushed the 529-add-beta-deployments-part-1 branch from 946ef03 to 3a61b1d Compare February 12, 2024 19:17
@dib542 dib542 merged commit 181adb6 into main Feb 12, 2024
1 of 2 checks passed
@dib542 dib542 deleted the 529-add-beta-deployments-part-1 branch February 12, 2024 19:24
@dib542 dib542 linked an issue Feb 12, 2024 that may be closed by this pull request
dib542 pushed a commit that referenced this pull request Feb 12, 2024
## [2.1.1](v2.1.0...v2.1.1) (2024-02-12)

### Other

* add beta deployments (part 1: improvements) ([#533](#533)) ([181adb6](181adb6))
@dib542
Copy link
Collaborator Author

dib542 commented Feb 12, 2024

🎉 This PR is included in version 2.1.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add beta deployments
1 participant