-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
feat: support API useDocumentData #6408
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|
wssgcg1213
force-pushed
the
feat/documentdata
branch
from
August 24, 2023 03:05
53650fd
to
3844a5c
Compare
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## release/next #6408 +/- ##
================================================
+ Coverage 79.23% 80.20% +0.96%
================================================
Files 251 251
Lines 21982 22030 +48
Branches 2683 2717 +34
================================================
+ Hits 17418 17669 +251
+ Misses 4520 4317 -203
Partials 44 44
☔ View full report in Codecov by Sentry. |
ClarkXia
changed the title
[WIP] feat: support API useDocumentData
feat: support API useDocumentData
Aug 29, 2023
chenjun1011
previously approved these changes
Aug 29, 2023
luhc228
approved these changes
Aug 30, 2023
chenjun1011
approved these changes
Aug 31, 2023
HomyeeKing
pushed a commit
to HomyeeKing/ice
that referenced
this pull request
Sep 11, 2023
* feat: support API useDocumentData * refactor: make document data unstable * refactor: document data loader * chore: lint * chore: lint * chore: lint --------- Co-authored-by: ZeroLing <zhuoling.lcl@alibaba-inc.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Usage
Step 1: export
dataLoader
insrc/document.tsx
Step2: use API
unstable_useDocumentData
imported fromice
临时解决方案,需要 document 计划改造成 RSC 方式执行