News for hackers. Stuff that matters.
Re:Choosing the Right JavaScript Framework by al_the_x on Thursday August 21, 2014 @01:29PM (#8208512)
Been meaning to look into React, so thanks for the review. Polymer is really not an option until Web Components are more broadly accepted by the browsers and better specified. One of the things I like about Angular JS is that it represents, IMO, a "baby-step" towards Web Components (which Polymer is built atop) through Directives.
Re:Choosing the Right JavaScript Framework by bsimpson on Friday August 22, 2014 @11:15AM (#8212447)
React is also elemental, but in a different sort of way. Your elements effectively become substitutions:

   // When I say 
    
    <IconButton 
        link-to = "home"  
        src = "home.svg 
    />
    
    // give me 
    
    <a 
        class = "IconButton"  
        href = "/"
    >
        <img src = "home.svg" />
    </a>
It doesn't show up as custom elements in the DOM (hence you have to manually specify the class name in your substitution). It's also idempotent, so no fancy data binding. Otherwise, same idea.