A pattern is emerging across frameworks: organize UIs as trees of self-contained components. React does it with JSX. Web Components do it with custom elements. Angular 2 (being developed now) is redesigning around components. This convergence is interesting—but the implementations are incompatible.
Tag: Components
React showed up last May at JSConf, and the initial reaction was skepticism. Facebook's pitch—"we're putting HTML in JavaScript"—sounded like a regression to the bad old days of mixing presentation and logic. But after spending time with it, I think React is asking the right questions, even if the answers feel uncomfortable.