by ricardobeat · 2y ago · 0 comments
It takes some careful usage of requestIdleCallback and avoiding doing work in the UI thread but it is not rocket science. You do have to avoid a lot of the going advice and bloated libraries / frameworks though.
Maybe better than the native you had before the rewrite lol
You had an app written natively in Objective-C or Swift, switched to single-threaded javascript React Native, and then your app ran faster?
The largest bottleneck historically was the bridge between obj-c and js (now superseded by JSI), and not the speed of the engine itself.