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

🔬 Make useRawLogs more efficient and responsive #1151

Merged
merged 25 commits into from
May 27, 2024

Commits on Apr 21, 2024

  1. Make useRawLogs more efficient and responsive

    - Makes use of isStatic query param
    - Makes use of refresh query param and global config
    - Clears logs when there's a change in the filter to minimize the amount of time invalid old logs are returned
    - Prevents some race conditions
    - It no longer fetches logs with every re-render
    - Filter can no longer be a promise - reduces unnecessary complexity
    TylerEther committed Apr 21, 2024
    Configuration menu
    Copy the full SHA
    5b4f0fd View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2024

  1. Improve useRawLogs

    - Switch back to allowing filter promises
    - Switch back to useEffect to update the logs
    - Shallow copy filter data before the async getLogs to prevent data mismatch making logs stale
    - Prevent changing state after component unmount
    - Use useRef to track loading status
    TylerEther committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    620bdba View commit details
    Browse the repository at this point in the history

Commits on May 9, 2024

  1. Configuration menu
    Copy the full SHA
    5e10010 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0611e13 View commit details
    Browse the repository at this point in the history
  3. Cleanup useResolvedFilter

    TylerEther committed May 9, 2024
    Configuration menu
    Copy the full SHA
    9450e66 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2617464 View commit details
    Browse the repository at this point in the history
  5. Fix bug in deepEqual

    TylerEther committed May 9, 2024
    Configuration menu
    Copy the full SHA
    33d7551 View commit details
    Browse the repository at this point in the history
  6. Add comment to deepEqual

    TylerEther committed May 9, 2024
    Configuration menu
    Copy the full SHA
    1bade54 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5526c85 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    68a2aec View commit details
    Browse the repository at this point in the history
  9. Export common in helpers

    TylerEther committed May 9, 2024
    Configuration menu
    Copy the full SHA
    cc92969 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    3fdef33 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    5287f89 View commit details
    Browse the repository at this point in the history
  12. Remove unused import

    TylerEther committed May 9, 2024
    Configuration menu
    Copy the full SHA
    adb11a6 View commit details
    Browse the repository at this point in the history
  13. Fix code smell

    TylerEther committed May 9, 2024
    Configuration menu
    Copy the full SHA
    7c429dd View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    3e05b97 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    99c4639 View commit details
    Browse the repository at this point in the history
  16. Fix staleness issue

    TylerEther committed May 9, 2024
    Configuration menu
    Copy the full SHA
    7447756 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    8501c3e View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    53c335b View commit details
    Browse the repository at this point in the history

Commits on May 13, 2024

  1. Configuration menu
    Copy the full SHA
    548d973 View commit details
    Browse the repository at this point in the history

Commits on May 15, 2024

  1. Configuration menu
    Copy the full SHA
    2363153 View commit details
    Browse the repository at this point in the history

Commits on May 17, 2024

  1. Configuration menu
    Copy the full SHA
    17d24e4 View commit details
    Browse the repository at this point in the history
  2. Create hot-pots-tap.md

    nezouse authored May 17, 2024
    Configuration menu
    Copy the full SHA
    3371c32 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    af09026 View commit details
    Browse the repository at this point in the history