Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

With components I think we are taking a step back from semantic HTML elements, where style is applied by a separate template. And business logic is also separated from the layout elements.


The cutting edge of front-end development has been arriving at ways to split business logic from layout elements for some time now.

Redux, Om, Reframe, Elm, etc. They all amount to hooking up components to a state transactor where the business logic lives separately.

Semantic HTML seems like a trade-off where you clean your markup at the expense of indirection, not a universal aspiration. And components don't dictate where your styling should live.


In classic HTML you use id attributes for the JavaScript, and class attributes for the style-sheet.


I agree, I still don't see the benefit here.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: