Posts with #CSSModules

#CSSModules

Public posts on X that use #CSSModules.

Related hashtags

  1. LiveCodes@livecodes_io
    💡Tip of the day: Scope your styles with CSS Modules! Enable from style editor menu → CSS Modules 📚 CSS Modules: #LiveCodes #CSSModules
    Download
    013229
  2. iamkrisefobi@iamkrisefobi
    DAY 39a: 8/FEB: CSS Modules · This is a technique in React for locally scoping CSS by automatically generating unique class names for your styles. It helps avoid naming collisions and makes it easier to manage styles on a per-component basis. #cssmodules #react #365DaysTechStreak
    00110
  3. iamkrisefobi@iamkrisefobi
    DAY 39b: 8/FEB: CSS Modules · Create a CSS file for your component, & name it with the ‘.module.css’ extension eg NavBar.module.css · Define styles: Define your styles using regular CSS syntax /NavBar.module.css/ .container { background: red; padding: 10px; } #cssmodules #react
    00227
  4. iamkrisefobi@iamkrisefobi
    DAY 39d: 8/FEB: CSS Modules · Import and use the component //App.tsx import React from … import NavBar from ‘./…’ const App = () => { return <NavBar /> }; export default App; #cssmodules #react #365DaysTechStreak
    00116
  5. Rama Jha | DEVCON 8✓@rama_vats
    🚨💥 Performance concerns are a major bottleneck for Styled Components. 📊 But, CSS Modules offer better build performance by processing styles during the build time rather than at runtime. #Performance #CSSModules
    00241
  6. Fabio Fumis@FFumis
    The only drawback you can find in using @vercel is that the choice of the database is up to you. And this is the only thing that can break perfection.
    100
  7. Delba✓@delba_oliveira
    @FFumis
    @FFumis @vercel Totally see where you're coming from. But solution agnosticism has benefits too. E.g. React didn't come with a styling solution. Frustrating at first, but now, depending on our requirements we are free to use vanilla css, #CSSmodules, @tailwindcss, @emotioncss or @stitchesjs
    101
  8. Team Sketch2React@Sketch2R
    @Sketch2R
    Talking about plugins, about any great plugin that don't mess up your layer names will work right out of the box with #sketch2react 🧡🔌
    200
  9. Anton Korzunov✓@theKashey
    There is simple reason why "Hot-Module-Replacement" would NEVER be a reliable thing... And the best explanation for is... #CSSmodules !
    1012
  10. きりん / kirin@sota1235
    TLのfrontend engineerでstyled-components推してない人結構見かけるけど理由が知りたい。frontend知見浅くてあまりわかってない…
    115
  11. TJ (thaddeus jiang)@ThaddeusJiang
    @sota1235
    @sota1235 おすすめしない理由について、簡単的に言うと、CSS が十分強いから。 詳しく話したら、お勧めの理由から考える方がいいです。 自分の理解は CSS-IN-JS の強みは3点があります。 1. 影響範囲が明確 2. ロジック書ける 3. JS でツール開発できる しかし、この3点はCSSをやめる理由にならないです。
    101
  12. TJ (thaddeus jiang)@ThaddeusJiang
    @ThaddeusJiang
    @sota1235 まず1点目 CSSが全局影響範囲ですから、本当に面倒ですが。 現在には色々UI framework がこの問題を解決しました。 例えば、@vuejs scoped styleとか、#cssmodules とか
    101
  13. Jon Bascos@medicToDev
    Just learned about CSS Modules while going through a React course. I can't believe I didn't know about it until now. All of the CSS rules in your <name>.module.css file is locally scoped to the component that is using it. Pretty nifty! #reactjs #cssmodules
    001
  14. Show more posts