GithubHelp home page GithubHelp logo

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

笔误修正

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

编译失败: 执行./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.

Platform 增加新特性

Platform.select

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

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

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

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文件拷贝到你的工程中,就可以运行成功了

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.

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.