没有合适的资源?快使用搜索试试~ 我知道了~
react-native-multithreading:using使用JSI为React Native提供快速简便的多线程
共84个文件
png:11个
json:8个
h:6个
需积分: 44 1 下载量 171 浏览量
2021-03-16
22:41:44
上传
评论
收藏 539KB ZIP 举报
温馨提示
React本机多线程 :thread: 使用JSI的React Native的快速简便的多线程处理。 安装 npm install react-native-multithreading npx pod-install 需要包括的react-native-reanimated版本。 您可以自己打补丁,也可以等到它发布后再发布。 :warning: 警告:这仍然只是概念证明-请勿在生产中使用该库! :warning: 为什么 由于越来越成为主流,因此可能有些功能实际上正在阻塞并且需要一段时间才能执行。 例如,像这样的存储库或SQLite JSI库可能要花费几毫秒来执行一个复杂的调用。 您不希望这样做时冻结整个React-JS线程,因为用户会感觉到明显的滞后或冻结。 那就是react-native-multithreading出现的地方。 您可以简单地将这样昂贵的计算/阻塞调用卸载到单独的线程中,而您的主要React
资源推荐
资源详情
资源评论
收起资源包目录
react-native-multithreading-master.zip (84个子文件)
react-native-multithreading-master
tsconfig.build.json 57B
.gitattributes 71B
.github
FUNDING.yml 612B
yarn.lock 411KB
cpp
ThreadPool.cpp 2KB
RNMultithreadingInstaller.cpp 4KB
RNMultithreadingInstaller.h 455B
ThreadPool.h 786B
src
index.ts 450B
__tests__
index.test.tsx 25B
babel.config.js 77B
ios
RNMultithreading.h 98B
MakeJSIRuntime.h 429B
RNMultithreading.mm 1020B
Multithreading.xcodeproj
project.pbxproj 11KB
img
icon.png 21KB
android
.project 435B
src
main
AndroidManifest.xml 133B
java
com
reactnativemultithreading
MultithreadingPackage.java 750B
MultithreadingModule.java 808B
CMakeLists.txt 969B
.settings
org.eclipse.buildship.core.prefs 381B
cpp-adapter.cpp 1KB
gradle.properties 111B
build.gradle 3KB
CONTRIBUTING.md 8KB
example
metro.config.js 1KB
index.tsx 171B
yarn.lock 292KB
src
App.tsx 2KB
babel.config.js 349B
ios
MultithreadingExample.xcworkspace
xcshareddata
IDEWorkspaceChecks.plist 238B
contents.xcworkspacedata 239B
MultithreadingExample-Bridging-Header.h 103B
MultithreadingExample
Info.plist 2KB
main.m 390B
LaunchScreen.storyboard 6KB
Images.xcassets
AppIcon.appiconset
Contents.json 585B
Contents.json 63B
AppDelegate.h 386B
AppDelegate.m 2KB
Podfile.lock 19KB
File.swift 66B
Podfile 650B
MultithreadingExample.xcodeproj
xcshareddata
xcschemes
MultithreadingExample.xcscheme 4KB
project.pbxproj 35KB
android
.project 433B
gradlew 6KB
settings.gradle 344B
.settings
org.eclipse.buildship.core.prefs 54B
gradle
wrapper
gradle-wrapper.properties 200B
gradle-wrapper.jar 54KB
gradlew.bat 3KB
gradle.properties 933B
app
src
debug
AndroidManifest.xml 472B
java
com
example
reactnativemultithreading
ReactNativeFlipper.java 3KB
main
AndroidManifest.xml 958B
res
mipmap-hdpi
ic_launcher.png 3KB
ic_launcher_round.png 5KB
mipmap-xxxhdpi
ic_launcher.png 9KB
ic_launcher_round.png 15KB
mipmap-xhdpi
ic_launcher.png 4KB
ic_launcher_round.png 7KB
mipmap-mdpi
ic_launcher.png 2KB
ic_launcher_round.png 3KB
values
strings.xml 85B
styles.xml 246B
mipmap-xxhdpi
ic_launcher.png 6KB
ic_launcher_round.png 10KB
java
com
example
reactnativemultithreading
MainActivity.java 381B
MainApplication.java 3KB
debug.keystore 2KB
build.gradle 8KB
proguard-rules.pro 489B
build.gradle 1KB
app.json 81B
package-lock.json 238KB
package.json 761B
tsconfig.json 707B
LICENSE 1KB
README.md 6KB
react-native-multithreading.podspec 916B
.gitignore 588B
package.json 3KB
共 84 条
- 1
资源评论
dilikong
- 粉丝: 24
- 资源: 4598
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功