jeffcarp / frontend-hyperpolyglot

The same operations in React, Angular 1&2, Ember, Polymer, Vue, and Riot
http://jeffcarp.github.io/frontend-hyperpolyglot
MIT License
269 stars 22 forks source link

Simplify React DOM add/remove #1

Closed insin closed 8 years ago

insin commented 8 years ago

{x ? blah : null} is functionally equivalent to {x && blah}

jeffcarp commented 8 years ago

Awesome, thank you!!