Skip to content

Add query parameters and optimize requests #37

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Ham1et
Copy link

@Ham1et Ham1et commented Feb 14, 2025

What was done:

  1. Added query parameters for date selection:
  • Users can now specify date ranges directly in the URL.
  • The hook dynamically filters the data based on the provided date parameters.
  • Optimized request handling:
  1. Requests are now only made once, as the API returns all data at once.

  2. Data filtering is handled locally instead of making multiple network calls.

Demo: https://hyperliquid-stats-web.vercel.app/

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

Successfully merging this pull request may close these issues.

1 participant