Skip to content

Add offline support to <ReferenceFieldBase> and <ReferenceField>#10860

Merged
fzaninotto merged 5 commits intonextfrom
offline-support-reference-fields
Aug 12, 2025
Merged

Add offline support to <ReferenceFieldBase> and <ReferenceField>#10860
fzaninotto merged 5 commits intonextfrom
offline-support-reference-fields

Conversation

@djhi
Copy link
Copy Markdown
Contributor

@djhi djhi commented Jul 28, 2025

Problem

Our components and hooks can't leverage the offline support provided by Tanstack Query.

Solution

  • Make sure our data loading hooks returns the data needed to detect those cases
  • Provide components, hooks and props allowing to handle offline scenarios
  • Provide default offline components in ra-ui-materialui

How To Test

Additional Checks

  • The PR targets master for a bugfix or a documentation fix, or next for a feature
  • The PR includes unit tests (if not possible, describe why)
  • The PR includes one or several stories (if not possible, describe why)
  • The documentation is up to date

Also, please make sure to read the contributing guidelines.

Comment thread docs/ReferenceField.md Outdated
Comment thread docs/ReferenceFieldBase.md Outdated
@fzaninotto fzaninotto merged commit 996e452 into next Aug 12, 2025
15 checks passed
@fzaninotto fzaninotto deleted the offline-support-reference-fields branch August 12, 2025 10:40
@fzaninotto fzaninotto added this to the 5.11.0 milestone Aug 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

RFR Ready For Review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants