4 ms·
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, et
by danneu 10y ago
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.
- z3t4 10y agoIn classic HTML you use id attributes for the JavaScript, and class attributes for the style-sheet.
- King-Aaron 10y agoI agree, I still don't see the benefit here.