-
Notifications
You must be signed in to change notification settings - Fork 1.1k
docs(cn): translate content/blog/2015-04-17-react-native-v0.4.md into Chinese #925
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
Closed
Closed
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -4,22 +4,22 @@ layout: post | |||||
| author: [vjeux] | ||||||
| --- | ||||||
|
|
||||||
| It's been three weeks since we open sourced React Native and there's been some insane amount of activity already: over 12.5k stars, 1000 commits, 500 issues, 380 pull requests, and 100 contributors, plus [35 plugins](http://react.parts/native-ios) and [1 app in the app store](http://herman.asia/building-a-flashcard-app-with-react-native)! We were expecting some buzz around the project but this is way beyond anything we imagined. Thank you! | ||||||
| 自从我们开源 React Native 到现在有三周了,已经有一些令人激动的的活跃度:超过 12.5k stars,1000 commits,500 issues,380 pull requests和 100 contributors,另外app store中有[35 plugins](http://react.parts/native-ios) 和[1个app](http://herman.asia/building-a-flashcard-app-with-react-native) !我们期待这个项目会引起轰动,但这远远超出了我们的想象。感谢! | ||||||
|
|
||||||
| I'd especially like to thank community members Brent Vatne and James Ide who have both already contributed meaningfully to the project and have been extremely helpful on IRC and with issues and pull requests | ||||||
| 我要特别感谢社区成员 Brent Vatne 和 James Ide,他们都为项目做出了有意义的贡献,并且在 IRC 、pr、issue上都有很大的帮助。 | ||||||
|
|
||||||
| ## Changelog {#changelog} | ||||||
| ## 修改日志 {#changelog} | ||||||
|
|
||||||
| The main focus of the past few weeks has been to make React Native the best possible experience for people outside of Facebook. Here's a high level summary of what's happened since we open sourced: | ||||||
| 过去几周的主要关注点是让 React Native 成为 Facebook 以外开发者的最佳体验。以下是自我们开源以来所做事情的重点概括: | ||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
|
||||||
| * **Error messages and documentation**: We want React Native to be the absolute best developer experience for building mobile apps. We've added a lot of warnings, improved the documentation, and fixed many bugs. If you encounter anything, and I really mean anything, that is not expected or clear, please create an issue - we want to hear about it and fix it. | ||||||
| * **NPM modules compatibility**: There are a lot of libraries on NPM that do not depend on node/browser internals that would be really useful in React Native, such as superagent, underscore, parse, and many others. The packager is now a lot more faithful to node/browserify/webpack dependency resolution. If your favorite library doesn't work out of the box, please open up an issue. | ||||||
| * **Infrastructure**: We are refactoring the internals of React Native to make it easier to plug in to existing iOS codebases, as well as improve performance by removing redundant views and shadow views, supporting multiple root views and manually registering classes to reduce startup time. | ||||||
| * **Components**: The API for a lot of UI components and APIs, especially the ones we're not using heavily inside of Facebook, has dramatically improved thanks to many of your pull requests. | ||||||
| * **Tests**: We ported JavaScript tests, iOS Snapshot tests, and End to End tests to Travis CI. We have broken GitHub master a couple of times (whoops!) when syncing and we hope that with this growing suite of tests it's going to become harder and harder to do so. | ||||||
| * **Patent Grant**: Many of you had concerns and questions around the PATENTS file. We pushed [a new version of the grant](https://code.facebook.com/posts/1639473982937255/updating-our-open-source-patent-grant/). | ||||||
| * **Per commit history**: In order to synchronize from Facebook to GitHub, we used to do one giant commit every few days. We improved our tooling and now have per commit history that maintains author information (both internal and external from pull requests), and we retroactively applied this to historical diffs to provide proper attribution. | ||||||
| * **错误提示和文档**: 我们希望 React Native 成为构建移动端应用程序的绝对最佳开发体验。我们添加了许多警告、改进了文档并修复了许多bug。如果你遇到问题,我的意思是任何问题,不是预期的或明确的,请创建一个issue - 我们希望知道并修复它。 | ||||||
| * **NPM 模块兼容性**: NPM 上有很多不依赖于 node/browser 内部的库,这些库在 React Native 中非常有用,例如 superagent、underscore、parse 等等。打包器现在更加倾向于 node/browserify/webpack 依赖性解析。如果您最喜欢的库不能开箱即用,请创建一个issue。 | ||||||
| * **基础架构**: 我们正在重构 React Native 的内部结构,使其更容易插接入现有的 iOS 代码库,并通过删除冗余视图和 shadow 视图、支持多个根视图和手动注册类以减少启动时间来提高性能。 | ||||||
| * **组件**: 许多 UI 组件和 API,特别是那些我们在 Facebook 内部没有大量使用的,由于你的多次 pr 而得到了显著改进。 | ||||||
| * **测试**: 我们将 JavaScript 测试、iOS 快照测试和端到端测试移植到 Travis CI 平台。我们在同步时已经破坏了 GitHub master 好几次(哎呀!),我们希望随着这个不断增长的测试套件,这样做会变得越来越不易出错。 | ||||||
| * **专利授权**: 你们中的许多人对专利文件有疑虑和问题。 我们推送了 [一个新版本的授权](https://code.facebook.com/posts/1639473982937255/updating-our-open-source-patent-grant/) 。 | ||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| * **每一条提交历史**: 为了从 Facebook 同步到 GitHub,我们过去每隔几天就会进行一次超大量的提交。我们改进了我们的工具,现在可以维护作者(不管是内部还是外部的 pr )的每次提交记录信息,并且我们可追溯地将其应用比较于历史差异以提供合适的的归属。 | ||||||
|
|
||||||
| ## Where are we going? {#where-are-we-going} | ||||||
| ## 我们接下来要做什么? {#where-are-we-going} | ||||||
|
|
||||||
| In addition to supporting pull requests, issues, and general improvements, we're also working hard on our internal React Native integrations and on React Native for Android. | ||||||
| 除了支持 pr、issue 和一般功能改进之外,我们还在努力开发内部 React Native 集成和 Android 版 React Native。 | ||||||
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.