Our great sponsors
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
What would happen if you used a to style a component which is already styled internally? Would precedence work correctly, or would the outer style have to artificially bump selector precedence?
styled jsx handles this—you have to use css.resolve instead of an ordinary style tag to customize/override a component's styles.
I’m not actually sure what you mean by “inline critical css”. But I also am curious? Can you point me to the place in the styled-jsx docs?
I may be wrong here, but I think styled-jsx inlines "critical-path CSS" when you set
optimizeForSpeed: true
in its configs. But that may not be the case and it may just be other optimizations.I like this part, though:
“starting here, and ending here, there is styling happening”
That sounds intuitive—like a hybrid of styled-components and styled-jsx.