3 ms·
yes. there is an aspect you are missing. no one in their right mind wants to bundle Chromium with every app install, and every Discord user hates mobile Discor
by bpavuk 1y ago
yes. there is an aspect you are missing.
no one in their right mind wants to bundle Chromium with every app install, and every Discord user hates mobile Discord app, which is, guess what? uses Chromium!
- cyberax 1y agoReact.Native doesn't use Chromium.
- liqilin1567 1y agoJust curious - how does React.Native implement native UI if it doesn't use chromium
- notpushkin 1y agoBy mapping some “low-level” components to platform primitives: https://reactnative.dev/docs/intro-react-native-components https://reactnative.dev/docs/intro-react-native-components
- adityapurwa 1y agoReact Native asks the native layer to render the UI natively.
- hokumguru 1y agoIt’s more complex now since they shipped the new renderer, but essentially serializes the react UI tree to JSON and passes it to native which parses and renders native components
- iknowstuff 1y agoYour profile is full of incorrect assertions about software. What do you do for a living
- NSUserDefaults 1y agoFor JS driving the business logic you do not need a browser to run it. On iOS there is JavaScriptCore and there are other Javascript runtimes out there that are quite small. That said, it is true that Javascript may not be the right choice for every app and some developers may be used to better language features and performance than that.
- wiseowise 1y agoThere’s no Chromium in RN, that’s the whole idea behind Native part. It ships optimized JS runtime called Hermes. And Discord mobile app on iOS doesn’t even use RN, it’s a native application.