joltup / react-native-threads

Create new JS processes for CPU intensive work
MIT License
755 stars 141 forks source link

RN 0.61 TurboModuleRegistry ERROR IN ANDROID #85

Closed skdev24 closed 5 years ago

skdev24 commented 5 years ago

When a thread bundle run it's gives a warning in android, it works perfectly in iOS.

const thread = new Thread('/thread.js');

Screenshot_20191003-190318

"dependencies": { "react": "16.9.0", "react-native": "0.61.2", "react-native-threads": "http://github.com/jhen0409/react-native-threads/tarball/rn61" }

ihavenoface5 commented 5 years ago

87

Traviskn commented 5 years ago

The linked fix is merged, but unfortunately android threads now take much longer to start. There is more we need to look into to get performance improved

ihavenoface5 commented 5 years ago

Our performance issues were unrelated to react-native-threads. The latest master should be good to use on RN 61.