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

🦋 Changeset detected

Latest commit: 3dca27c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@scaleway/use-dataloader Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another 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 94.51%. Comparing base (1a67c49) to head (3dca27c).
⚠️ Report is 3 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   94.66%   94.51%   -0.16%     
==========================================
  Files          33       33              
  Lines         918      929      +11     
  Branches      140      144       +4     
==========================================
+ Hits          869      878       +9     
- Misses         26       28       +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.

@philibea philibea force-pushed the use-dataloader-loading branch 5 times, most recently from 49b88b1 to 6417c84 Compare December 24, 2025 00:52
Signed-off-by: Alexandre Philibeaux <aphilibeaux@scaleway.com>
@philibea philibea force-pushed the use-dataloader-loading branch from 6417c84 to 3dca27c Compare December 24, 2025 11:51
@philibea philibea merged commit 5148f41 into main Dec 24, 2025
5 of 7 checks passed
@philibea philibea deleted the use-dataloader-loading branch December 24, 2025 13:02
@github-actions github-actions bot mentioned this pull request Dec 24, 2025
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