Comment

Comment by hajile

Some people here seem to have a hard time understanding that React !== DOM

React is descriptive. It creates a virtual tree and tells how that tree should be changed.

What that tree renders into is a completely different problem. On the web, it renders into HTML. On your phone (ReactNative), it renders into native GUI. In ink, it uses a render engine to concat and output the text results (it's a little more complex than that as it uses Yoga[0] today).

[0] https://www.yogalayout.dev/

parent hajile 2 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton