Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on React vs. Ember – EmberNYC slides. Parent comment
It has nothing to do with DOM in principle.
It's just a convenient XML-like declarative syntax to describe a component tree. Think XUL [1] or Gtk+ Glade [2].
The <a>, <p>, etc. are components on the React.DOM namespace that output DOM nodes of the same name.
[1] https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XUL/Tu...
[2] https://glade.gnome.org/
There are no comments on this comment yet.
It has nothing to do with DOM in principle.
It's just a convenient XML-like declarative syntax to describe a component tree. Think XUL [1] or Gtk+ Glade [2].
The <a>, <p>, etc. are components on the React.DOM namespace that output DOM nodes of the same name.
[1] https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XUL/Tu...
[2] https://glade.gnome.org/