-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
css-in-js
A thorough analysis of all the current CSS-in-JS solutions with SSR & TypeScript support for Next.js (by andreipfeiffer)
Aside from the DevTools issue, it appears to be mostly a performance issue. Of course, there are CSS in JS, which overcomes these issues by extracting the CSS and making it zero runtime, but there are some tradeoffs. Here are two examples.
-
pigment-css
Pigment CSS is a zero-runtime CSS-in-JS library that extracts the colocated styles to their own CSS files at build time.
-
Dynamic styling restrictions: The combination of build issues and the use of CSS Variables forces us to support only some representations, like Styling based on props in Pigment CSS, or learn to do things differently, like Coming from Emotion or styled-components. Dynamicity is also one of the main metrics that can be used to distinguish between CSS in JS.
-
As a representative example, see the definition and compilation of the tab bar layout in my Firefox theme. Despite only considering the OS and user options, a file of about 360 lines produces a compilation result reaching approximately 1400 lines.
-
-
-
-
-
-
-
macaron
Compiler-augmented typesafe CSS-in-JS with zero runtime, colocation, maximum safety and productivity (by macaron-css)
-
-
-
-
-
-
-
-
-
-
-
styled-components
Visual primitives for the component age. Use the best bits of ES6 and CSS to style your apps without stress 💅
Agnostic: Framework independent, libraries like StyledComponent are designed specifically for React.
-
storybook
Storybook is the industry standard workshop for building, documenting, and testing UI components in isolation
-
stitches
[Not Actively Maintained] CSS-in-JS with near-zero runtime, SSR, multi-variant support, and a best-in-class developer experience.
-
-
-
-
-
-
Bootstrap
The most popular HTML, CSS, and JavaScript framework for developing responsive, mobile first projects on the web.
-
For now, we can delegate layout concerns to frameworks like Bootstrap or Bulma, and focus more on management aspects.
Related posts
-
Creating Nx Workspace with Eslint, Prettier and Husky Configuration
-
30+ CSS libraries and frameworks help you style your applications efficiently.
-
Exploring Pigment CSS, a zero-runtime CSS-in-JS library by MUI
-
Linaria: Zero-Runtime CSS in JavaScript
-
Darling, I converted our perfectly fine SPA application into SSR: Part 2