Hacker News new | ask | show | jobs
by liqilin1567 233 days ago
Just curious - how does React.Native implement native UI if it doesn't use chromium
3 comments

It’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
By mapping some “low-level” components to platform primitives: https://reactnative.dev/docs/intro-react-native-components
React Native asks the native layer to render the UI natively.