Skip to content

Conversation

@philibea
Copy link
Collaborator

Adds distinction between initial loading (isLoading) and ongoing fetching (isFetching) to provide more granular control over loading states in data loader hooks.

@changeset-bot
Copy link

changeset-bot bot commented Dec 21, 2025

⚠️ No Changeset found

Latest commit: c57142f

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

@codecov
Copy link

codecov bot commented Dec 21, 2025

Codecov Report

❌ Patch coverage is 90.00000% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 68.96%. Comparing base (6833499) to head (c57142f).
⚠️ Report is 8 commits behind head on main.

Files with missing lines Patch % Lines
packages/use-dataloader/src/useDataLoader.ts 85.71% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2858      +/-   ##
==========================================
+ Coverage   68.85%   68.96%   +0.10%     
==========================================
  Files          44       44              
  Lines        1294     1305      +11     
  Branches      181      185       +4     
==========================================
+ Hits          891      900       +9     
- Misses        380      382       +2     
  Partials       23       23              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Signed-off-by: Alexandre Philibeaux <aphilibeaux@scaleway.com>
@philibea philibea force-pushed the use-dataloader-loading branch from 5dec44a to c57142f Compare December 22, 2025 09:33
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.

3 participants