Giter Club home page Giter Club logo

react-native-docs-cn's Introduction

此处不再维护

React Native中文文档

知识共享许可协议
React Native中文文档React Native中文网 创作,采用 知识共享 署名 4.0 国际 许可协议进行许可。
基于http://facebook.github.io/react-native上的作品创作。

版权所有:React Native中文网

知识共享 署名 4.0 国际 许可协议

您可以自由的:

分享 -- 复制或者重新发放本内容,无论通过何种媒介或格式。

改编 -- 重新组合、变幻、或者基于本内容构建其他内容。

不论处于什么目的,即使是商业上的目的。

本授权的发起人不能阻止这些权利,只要你满足以下条款:

您必须遵守以下条款

署名 -- 您必须以合理的方式提到原作者,如果原作者提供了,你也必须提供创作者的姓名和归属团体,一个版权声明,一个关于本协议的声明,一个放弃相关权利的声明,和一个可以到达本内容的链接。你还需要提供一个到达本协议的链接(注;请提供React Native中文网的网址 reactnative.cn),并且如果你对内容本身做了任何修改,也需要一并标识。你可以用任何合理的方式进行,但不得声称原作者赞同你或者你的使用。

如何标记你做的修改

更多信息

  • 没有额外的限制* -- 你不能附加任何额外的条款或技术限制来阻止其他人获得本协议所允许的任何权利。

注意

如果您获得了额外的书面允许,或者对于本内容中不受此协议限制的部分,你可以不必遵循此协议。

没有额外的保证。本协议并没有给你关于使用本内容的全部许可。举例来说,别的权利如:公共宣传、隐私、或者一些其它的权利可能会限时你使用本内容的方式。

react-native-docs-cn's People

Contributors

bawn avatar binyu1231 avatar bluers avatar buhe avatar bzsy avatar ccclll1990 avatar chuyao avatar daifee avatar darkty2009 avatar everfire130 avatar fan123199 avatar go7hic avatar hongjie104 avatar iwgang avatar jun-lu avatar kinsomyjs avatar liuchungui avatar loveacat2 avatar messypaste avatar millerdix avatar momoko8443 avatar nihgwu avatar raincal avatar sparkdreamstudio avatar spikef avatar sunnylqm avatar szq4119 avatar tdzl2003 avatar tyao1 avatar ycalm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

react-native-docs-cn's Issues

笔误修正

第一段开头,【根本你所使用的操作系统】 中的 【根本】 应该修正为 :【根据】

使用离线包那地方有些问题,可能需要修改一下,我在使用时遇到了这个问题

2、取消注释好像是不起作用的,我打包了应用,然后解开,里面是没有main.jsbundle,

建议在2后面添加以下说明:

如果注释后报错,可以在终端运行

//进入你react-native的运行目录,也个开启React Native开发服务器的目录
cd  /Users/.../node_modules/react-native 
//此方法,会在/Users/.../node_modules/react-native 目录下面生成main.jsbundle文件,
curl http://localhost:8081/index.ios.bundle -o main.jsbundle

将main.jsbundle文件拷贝到你的工程中,就可以运行成功了

编译失败: 执行./gradlew assembleRelease的时候在app:bundleReleaseJsAndAssets阶段失败了

:app:bundleReleaseJsAndAssetsnet.js:641
throw new TypeError('invalid data');
^

TypeError: invalid data
at Socket.write (net.js:641:11)
at Socket.stream.write (/home/workspace/dailynews/node_modules/react-native/node_modules/npmlog/node_modules/ansi/lib/newlines.js:36:21)
at Object.execFileSync (child_process.js:483:20)
at Object.run (cliEntry.js:132:16)
at Object. (/home/workspace/dailynews/node_modules/react-native/local-cli/cli.js:24:12)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Function.Module.runMain (module.js:441:10)
FAILED

FAILURE: Build failed with an exception.

ScrollView翻译缺少onContentSizeChange

中文地址

ScrollView里面少了一个onContentSizeChange函数的翻译。

原版地址

onContentSizeChange function 

Called when scrollable content view of the ScrollView changes.

Handler function is passed the content width and content height as parameters: (contentWidth, contentHeight)

It's implemented using onLayout handler attached to the content container which this ScrollView renders.

Platform 增加新特性

Platform.select

There is also a Platform.select method available, that given an object containing Platform

这是个很好的特性,用起来很方便

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.