Technically React DOM doesn’t need a browser either - it works fine with Node.js + jsdom for example, or really any JS engine. Tests written using React Testing Library don’t use a browser. There’s also React Server Components, and React can be used to render non-HTML content too.
Why would someone use React DOM on iOS when React Native exists, though? That’s the part I don’t understand. The core concepts are the same between the two, and you can share a large amount of code between a React web app and a React Native mobile app (even moreso if you use react-native-web for the web app).
React Native and React are different. React Native does not use a web browser.
Technically React DOM doesn’t need a browser either - it works fine with Node.js + jsdom for example, or really any JS engine. Tests written using React Testing Library don’t use a browser. There’s also React Server Components, and React can be used to render non-HTML content too.
Why would someone use React DOM on iOS when React Native exists, though? That’s the part I don’t understand. The core concepts are the same between the two, and you can share a large amount of code between a React web app and a React Native mobile app (even moreso if you use react-native-web for the web app).