News for hackers. Stuff that matters.
Re:REM vs. EM – The Great Debate by have_faith on Monday March 14, 2016 @08:42AM (#11282485)
Context sensitive components is exactly what I want. At the moment you have to compute that context on the server and output the correct class names (or on the front-end with React etc, doesn't matter). It would be nice for a component to not be told about it's context but it's CSS can infer it either through parent container breakpoints or something else.

There's too many negotiation between containers because a child component doesn't understand where it is, components are very "dumb" right now. We need smart context sensitive components.

There are no comments on this comment yet.