docs(cndocs): sync textinput and releases table with upstream - #1042
Conversation
- textinput: remove outdated multiline single-side border caveat (upstream react#5200) - textinput: add missing useState import, drop React. prefix in SnackPlayer examples - cnwebsite releases table: mark 0.87/0.86 Active, 0.85 End of Cycle, 0.84 Unsupported
❌ 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 Plus Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan includes up to 2 reviews per rolling hour; 1 remains after this review. 📝 WalkthroughWalkthrough本次更新调整了 ChangesTextInput 文档
版本发布信息
Estimated code review effort: 1 (Trivial) | ~5 minutes Merge Risk: ⚪ Minimal · up to This change updates translated documentation and release-status labels without changing runtime code or dependencies; no actionable merge-blocking risk remains after normal checks and review. Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ 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 |
同步内容
本次同步基于上游
facebook/react-native-website@main(含 0.87 版本发布、TextInput 文档更新等)合并到production后进行。翻译文件(cndocs/)
cndocs/textinput.mdimport {useState} from 'react';,并将React.useState(...)改为useState(...),与上游 React 17+ JSX transform 写法一致网站配置/组件同步(cnwebsite/)
cnwebsite/src/components/releases/_releases-table.md本次上游合并未涉及
package.json、docusaurus.config.ts、sidebars.ts、tsconfig.json等配置/依赖变更(仅有 0.87 版本化文档新增、release 表格更新、静态 logo SVG 与博客资源),故无需同步依赖版本。验证
yarn --cwd cnwebsite build通过(仅剩版本化文档中既有的 HTML minifier 警告,与本次改动无关)Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.Summary by CodeRabbit
Documentation
TextInputexamples to use the directuseStatehook.Release Information