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

Is loading #316

Merged
merged 3 commits into from
Jan 21, 2025
Merged

Is loading #316

merged 3 commits into from
Jan 21, 2025

Conversation

ivos
Copy link
Contributor

@ivos ivos commented Oct 16, 2022

PR for #208

Comments:

  1. Some cases of setting isLoading = false are not covered by tests. They follow analogical lines for isValidating. I only found a test case for one of them (the second changed line) and I am not sure whether isLoading is relevant there - if so, pls let me know I will try to extend the test case. The other two isValidating = false however do not break any tests when commented out. All these three lines are is a separate (second) commit.
  2. If this gets merged, SWRV docs site would need to be updated too.

(Note: this is a second PR for #208. The first one (#284) has been created against the former next branch.)

@adamdehaven
Copy link
Member

Revisiting this now, it may make sense to add; swr has since added as well and thoroughly explains the differences between isValidating and isLoading: vercel/swr#1928

Copy link

netlify bot commented Jan 21, 2025

👷 Deploy request for docs-swrv pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 5caf00b

Copy link
Member

@adamdehaven adamdehaven left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm -- we're a bit more active over here lately, thanks again for the contribution @ivos 🚀

@adamdehaven adamdehaven merged commit 092dbe2 into Kong:master Jan 21, 2025
2 checks passed
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.

2 participants