News for hackers. Stuff that matters.
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.

There are no comments on this comment yet.