docs(cndocs): sync import style, code fences, and cnwebsite deps (2026-06-21)#1035
docs(cndocs): sync import style, code fences, and cnwebsite deps (2026-06-21)#1035sunnylqm wants to merge 1 commit into
Conversation
- document-nodes, element-nodes, text-nodes: sync React import style (import * as React → destructured imports) to match upstream react#5101 - timers: fix code fence tsx → ts to match upstream - debugging-native-code: fix code fence objective-c → objectivec to match upstream - cnwebsite/package.json: bump docusaurus-plugin-copy-page-button ^0.8.2, @types/react ^19.2.17, prettier ^3.8.4, sass 1.101.0
❌ Deploy Preview for reactnativecn failed. Why did it fail? →
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (6)
📝 WalkthroughWalkthroughSeveral documentation code snippets in ChangesDoc snippet fixes and dependency bumps
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
Translation sync batch for 2026-06-21. Merged upstream changes and synced 5 CN docs files + cnwebsite dependency versions.
Translation sync (5 files)
cndocs/document-nodes.mdimport * as React→ destructuredimport {useEffect, useRef}cndocs/element-nodes.mdimport * as React→ destructuredimport {useEffect, useRef, useState}cndocs/text-nodes.mdimport * as React→ destructuredimport {useEffect, useRef, useState}cndocs/timers.mdtsx→ts(matching upstream)cndocs/debugging-native-code.mdobjective-c→objectivec(matching upstream)cnwebsite config sync
docusaurus-plugin-copy-page-button^0.8.1 → ^0.8.2@types/react^19.2.16 → ^19.2.17prettier^3.8.3 → ^3.8.4sass1.100.0 → 1.101.0Upstream merge (10 commits)
Main upstream changes merged to
production:Candidates skipped (already synced or false positives)
11 of 16 sync-script candidates were false positives:
Build verification
yarn --cwd cnwebsite buildpasses (89.75s). Pre-existing HTML minifier warnings in versioned docs (appregistry, linking) are unrelated.Summary by CodeRabbit
Documentation
Chores