Categories
Architecture JavaScript Web Development

Component Architecture: The Pattern That’s Emerging Everywhere

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.

Why Components Won

Categories
Architecture JavaScript Web Development

React: Rethinking Best Practices (or Breaking Them?)

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.

The Separation of Concerns Debate