Filter
Exclude
Time range
-
Near
你怕是没遇到过在 scss 声明了颜色变量,然后又在某些地方乱塞 !import 的傻逼,然后还时不时混用 cssinjs的弱智
2
265
【悲劇】急激にオワコン化してきたフロントエンド技術TOP5(2024 - 2025) ✅第5位 Sass 登場時は便利だったものの、近年はCSS自体とブラウザが進化し、CSSだけでもできることが増えました。 CSSinJSなどの技術も相まってなくてもよくなってきてしまった。 ✅第4位 GrapQL 昨年比で利用率が半減。登場時は注目されていたが、いざ使ってみた結果「これ別にREST APIでよくね?」と思う開発者の方が案外多かった。 ✅第3位 Create React App Reactといえばコイツだったのにいつの間にか公式サイトからも消えてしまった。 Next.jsやViteを使うのが良さげ ✅第2位 jQuey React,Next.jsのシェアが圧倒的すぎ。 jQueryが、というよりはJSフレームワークはReact,Next.jsが現在はほぼ一強。 ✅第1位 Bootstrap shadcn/uiやMUIといったTailwind勢に圧倒的にパイをとられてしまった。 それに...ごめんBootstrap、できればもっとかっこいいデザインにしたいんだ
4
21
222
76,073
JS lets you call functions with backticks! 🤯 subscribe`Status: ${true}!`; // tagged template 🏷️ Used in styled-components to write CSS in JS 🎨 const Btn = styled.button` background: ${p => p.primary ? "blue" : "gray"}; `; #JavaScript #WebDev #CSSinJS 💡
1
88
7 yrs later we ended up with - tailwind (way closer to cssinjs, styles live *with* the elements, not in separate .css files) - trpc react query (way closer to graphql than the traditional way of doing rest before we had them) - jsx > templates with angular style bindings :)
If we would start webdev from scratch and had to choose between: - CSS vs css-in-js - REST vs GraphQL - Templates vs JSX No sane person would choose the first options.
5
1
88
22,019
𝗖𝗦𝗦 𝗶𝗻 𝗥𝗲𝗮𝗰𝘁 𝗡𝗮𝘁𝗶𝘃𝗲? 𝗨𝗻𝗶𝘀𝘁𝘆𝗹𝗲𝘀 𝟯.𝟬 is here, and it rewrites the rules for theme-aware, responsive, and cross-platform styling — all without unnecessary re-renders. 𝗪𝗵𝗮𝘁 𝗶𝘀 𝗶𝘁? Unistyles is a high-performance styling system for React Native that lets you build components once — and have them work across native and web. No rewrites. No forks. Just one style layer that adapts. It supports themes (like light/dark), responsive design (breakpoints), and more — but that’s just the start. Under the hood, it compiles styles into platform-optimised output (including real CSS on web) and skips unnecessary re-renders when context like theme or screen size changes. 𝗪𝗵𝗮𝘁’𝘀 𝗻𝗲𝘄 𝗶𝗻 𝟯.𝟬? A complete performance overhaul powered by Nitro Modules and C , built to take full advantage of React Native’s New Architecture. ➡️ 𝗪𝗿𝗶𝘁𝗲 𝗼𝗻𝗰𝗲, 𝗿𝘂𝗻 𝗲𝘃𝗲𝗿𝘆𝘄𝗵𝗲𝗿𝗲: styles convert to native styles on mobile and real CSS on web. ➡️ 𝗡𝗼 𝗿𝗲-𝗿𝗲𝗻𝗱𝗲𝗿𝘀 𝗼𝗻 𝗰𝗼𝗻𝘁𝗲𝘅𝘁 𝗰𝗵𝗮𝗻𝗴𝗲𝘀: styles update without touching unrelated components. ➡️ 𝗕𝗿𝗲𝗮𝗸𝗽𝗼𝗶𝗻𝘁𝘀 𝘁𝗵𝗲𝗺𝗲𝘀: declaratively define how your UI adapts to screens and modes. ➡️ 𝗙𝗮𝗯𝗿𝗶𝗰-𝗻𝗮𝘁𝗶𝘃𝗲: built for RN 0.78 — not compatible with the old bridge. ➡️ Designed by @jpudysz and powered by the blazing-fast Nitro Modules. 𝗧𝗿𝗮𝗱𝗲𝗼𝗳𝗳𝘀? If you’re still using the legacy architecture, Unistyles 3.0 won’t work for you — you’ll need to stay on 2.0. But if you’re building for performance, cross-platform, and maintainability, this is a huge leap forward. It feels a lot like CSS — update a rule, and only what matters changes. Finally. #ReactNative #Unistyles #MobileDev #ResponsiveDesign #ReactNativeWeb #Performance #JSDev #NewArchitecture #CrossPlatform #CSSInJS
1
4
61
3,856
我感觉他的设计太中庸了,虽然说起来能定制化,但也只是允许你用不同的语法糖来做UI风格的定制化,那对于本来就只想要 tailwindcss 的开发者而言和 antd 没有任何区别。cssinjs 这种纯属邪教,他居然还大张旗鼓的支持,简直不能忍
2
138
PandaCSS、自分のとこでも導入してるけど今のところCSSinJSの最適解になってるなー #tskaigi
2
307
از styled-components و emotion استفاده نکنید تو این ویدئو درباره آپدیت جدید styled-components و emotion صحبت می‌کنیم. توئیچ جامعه: twitch.tv/fullstacksjs مشاهده ویدئو youtu.be/ZRCy99hF5qA #fullstacksjs #emotion #typescript #javascript #cssinjs
7
109
Replying to @htmx_org
cssinjs is the worst thing to ever exist
6
331
1 Apr 2025
Replying to @akazwz_
tailwind对应的不应该是sass/scss/less/cssinjs这些吗,都是写style的方式,shadcn和antd mui是对应的🤔
2
2
215
自从 antd v5 引入 cssinjs 后,工作上也得随之跟进,然后再尝试阅读和理解源码的时候。真心发觉之前 @antfuzh 提到的可持续发展开源的重要‼️了; 比如 stylis 、css-tree 这些在其背后面默默的支撑着大半个 CSS 世界。 1. github.com/csstree/csstree 2. github.com/thysultan/stylis
6
893
【悲劇】急激にオワコン化してきたフロントエンド技術TOP5(2024 - 2025) ✅第5位.Sass 登場時は便利だったものの、近年はCSS自体とブラウザが進化し、CSSだけでもできることが増えました。 CSSinJSなどの技術も相まってなくてもよくなってきてしまった。 ✅第4位.GrapQL 昨年比で利用率が半減。登場時は注目されていたが、いざ使ってみた結果「これ別にREST APIでよくね?」と思う開発者の方が案外多かった。 ✅第3位.Create React App Reactといえばコイツだったのにいつの間にか公式サイトからも消えてしまった。 Next.jsやViteを使うのが良さげ ✅第2位.jQuey React,Next.jsのシェアが圧倒的すぎ。 jQueryが、というよりはJSフレームワークはReact,Next.jsが現在はほぼ一強。 ✅第1位.Bootstrap shadcn/uiやMUIといったTailwind勢に圧倒的にパイをとられてしまった。 それに...ごめんBootstrap、できればもっとかっこいいデザインにしたいんだ
1
29
206
72,793
Estilos no SSR com @stitchesjs stitches.dev/ O Stitches é uma biblioteca de CSS-in-JS, e sua funcionalidade SSR (Server-Side Rendering) é muito boa e garante que os estilos seja renderizado no lado do servidor, deixando até que o estilo seja carregado mesmo com o Javascript desabilitado no navegador. Como funciona o SSR no Stitches? 1. Coleta de Estilos no Servidor: Durante a renderização inicial, o Stitches coleta dinamicamente todos os estilos necessários. 2. Injeção no HTML: Os estilos são inseridos diretamente no <head> da página HTML renderizada. 3. Hidratação no Cliente: No lado do cliente, o Stitches reutiliza esses estilos, evitando reprocessamento. @nextjs @stitchesjs 🎯 #CSSinJS #SSR #StitchesJS #Nextjs #Reactjs
2
43
👉 Struggling with interviews or upskilling as a React developer? Here’s a simple explanation of CSS-in-JS vs. Traditional CSS for React beginners: What’s the Difference? Traditional CSS - You write styles in .css or .scss files. - These styles are applied globally (unless scoped with methods like BEM or CSS modules). - You link styles to your React components using className. Example: CSS-in-JS - You write styles inside your JavaScript file (no external .css files). - Styles are scoped automatically to the specific component. - You use libraries like Styled-Components, Emotion, or even React's style prop. Example with Styled-Components: When to Use What? If your project is small/simple, traditional CSS is fine. If you’re building a React-heavy app with lots of components, CSS-in-JS can simplify your workflow. Follow me to learn React, crack interviews, and upgrade your skills every day! 🚀 #ReactTips #CSSinJS #TraditionalCSS #WebDevelopment #FrontendDevelopment #ReactBeginners #StyledComponents #CodingTips #TechSimplified #LearnReact #WebDesign #SoftwareEngineering #TechForBeginners #DeveloperLife #ReactDev #FrontendTips #InterviewPrep #LearnToCode #WebStyling
2
67
Replying to @dotey
> 但 CSS IN JS 早年有个麻烦的问题是服务端渲染不友好,不知道现在是不是已经解决了。 其实已经解决了,LobeChat 用的就是 CSSinJS ,内联的 css 甚至可以在控制台就能看到首屏样式,对比 tailwind 的方案,可以非常方便地解决首屏水合的问题。
2
14
3,792
21 Oct 2024
今日からnuxt のチューニングしてるんだけどlazy なコンポーネントのcssinjsの払い出しが問題になってるとき、解決策ってvanilla extract であってる?
3
3,337
【CSS-in-JSライブラリ比較】 Styled-components、Emotion、CSS Modulesなど、人気のCSS-in-JSライブラリを比較👇 Styled-components: CSSをコンポーネント単位で管理。テーマやスタイルの拡張が容易✨ Emotion: 柔軟かつパフォーマンスに優れたライブラリ。細かいスタイル管理が得意👍 CSS Modules: クラス名をローカルスコープ化し、従来のCSSに近い使い方🎨 プロジェクトに適したライブラリを選んで、開発効率UPを目指しましょう💡 #CSSinJS #StyledComponents #Emotion #CSSModules #フロントエンド #プログラミング #駆け出しエンジニア #駆け出しエンジニアと繋がりたい このアカウントでは、駆け出しフロントエンジニア ~ ミドルクラスの方に役立つ情報を毎日発信しています! ぜひフォローして、一緒に勉強しましょう♪
2
2
396
(I also publicly claim to have invented compile time cssinjs with glam, tho jsxstyle was probably wins that one)
1
5
291
Replying to @argyleink
I would prefer this syntax if it was built in, but after the cssinjs, tailwind and what not I really want to just be able to use CSS, no matter if the syntax is more verbose
1
10
741
16 Sep 2024
Replying to @flaviocopes
I'm so into cssinjs
6
1,219