240 发简信
IP属地:海南
  • 使用useContext时ts2503报错处理

    参考链接[https://stackoverflow.com/questions/57242264/cannot-find-namespace-...

  • Resize,w 360,h 240
    error An unexpected error occurred: "https://registry.yarnpkg.com/react-native-template-react-nat...

    ts+react native执行ts模板RN工程初始化命令报错 error An unexpected error occurred: "ht...

  • html2canvas在IOS14版本react-native-webView中上方多一块空白

    结论:使用html2canvas的y偏移量解决 android上及ios12版本正常,ios14版本使用html2canvas截图会多一块空白原...

  • react native 项目build常见报错

    1.使用react-native-config控制多种环境项目 Mac和windows运行差异Mac上可直接运行 windows则需要改为 否则...

  • Resize,w 360,h 240
    threeJS系列学习心得(一)

    前段学习3D渲染,实现数据可视化等常见需求 GitHub搜索three,下载并安装到本地 three.js的GitHub地址[https://g...

  • Resize,w 360,h 240
    Expression does not compute the number of elements in this array; element type is 'const unichar'...

    删除/ sizeof(char)即可 react-native/React/Base/RCTModuleMethod.mm 增加RCTReadS...

  • RN第三方库手动迁移AndroidX

    对于一些老版本的库可能维护者并没有更新支持AndroidX,又或者是一些新的库在老的项目里,需要将AndroidX的类改为低版本。可以通过以下网...

  • reduce语法回顾

    reduce 为数组中的每一个元素依次执行回调函数,不包括数组中被删除或从未被赋值的元素,接受四个参数:初始值(或者上一次回调函数的返回值),当...

  • Resize,w 360,h 240
    解决[android]react-native安装失败com.android.ddmlib.InstallException: EOF

    Execution failed for task ':app:installDebug'. > com.android.builder.tes...