home.social

#cssmodules — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #cssmodules, aggregated by home.social.

fetched live
  1. I know I've said this before, but I really hate CSS Modules.

    Seriously, can it please go die in a fire?

    #webdev #CSS #CSSModules

  2. I know I've said this before, but I really hate CSS Modules.

    Seriously, can it please go die in a fire?

    #webdev #CSS #CSSModules

  3. @thomasreggi Whatever happens, just don't fall in the CSS-in-JS rabbit hole. Phooie, what nonsense even is that, I mean?

    Now, in regards to #JSX and #components... As long as it's the same #CSS or, perhaps, CSS and non-over-the-top #CSSModules, the transition should not take much time. One serious benefit is maintaining component styling in one file with the layout and script bindings (most of the time, it results in less split brain logic than with separate files).

  4. @thomasreggi Whatever happens, just don't fall in the CSS-in-JS rabbit hole. Phooie, what nonsense even is that, I mean?

    Now, in regards to and ... As long as it's the same or, perhaps, CSS and non-over-the-top , the transition should not take much time. One serious benefit is maintaining component styling in one file with the layout and script bindings (most of the time, it results in less split brain logic than with separate files).

  5. With CSS nesting and `@Scope` stuff well supported at this point I am struggling to see much of a reason to continue using CSS modules.

    In Next.js you can now nest selectors in a module.css file, but the only way I can see to make it not the awkward obfuscated class names is to prefix all the nested items with `:global()`. which just is kinda ick.

    #nextjs #css #webdev #cssModules

  6. With CSS nesting and `@Scope` stuff well supported at this point I am struggling to see much of a reason to continue using CSS modules.

    In Next.js you can now nest selectors in a module.css file, but the only way I can see to make it not the awkward obfuscated class names is to prefix all the nested items with `:global()`. which just is kinda ick.

    #nextjs #css #webdev #cssModules

  7. Senior Web Developer - Your day-to-day will involve bridging the gap between our UX designers and back-end devs so we... Shopify / Ottawa, Canada startup.jobs/senior-web-develo #Dev fullstack #React #Typescript #CSSModules #Ruby #GraphQL by @[email protected]