4 ms·
This is the impression I got. The first half of the vanilla example is imperatively creating DOM elements, assigning attributes, and inserting them into an “app
by claviska 5y ago
This is the impression I got. The first half of the vanilla example is imperatively creating DOM elements, assigning attributes, and inserting them into an “app” <div>. My guess is the author learned React first and never considered that HTML can be written as (gasp) HTML!