this post was submitted on 22 Apr 2026
16 points (100.0% liked)

Programming

26625 readers
100 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS
top 3 comments
sorted by: hot top controversial new old
[โ€“] eager_eagle@lemmy.world 4 points 15 hours ago* (last edited 15 hours ago) (1 children)

react dev discovers the superior vue single-file components ๐Ÿ˜…

[โ€“] BlackEco@lemmy.blackeco.com 3 points 15 hours ago

Most React devs either colocate styles with their JSX with CSS-in-JS or skip CSS entirely with Tailwind class soup in their JSX. I must be one of the few that use CSS Modules instead (so CSS is in a separate file from JSX)

[โ€“] eager_eagle@lemmy.world 6 points 18 hours ago* (last edited 17 hours ago)

as someone who only writes frontend now and then, I agree, and I don't know how react devs find anything in their projects with the horizontal organization. I work regularly on a small one like that and it's already a pain every time I have to backtrack where this component I'm looking at is defined.

I have the same strong feeling about how most distros and OSes have Projects/ Documents/ Videos/ Images/ etc in the home directory: this lazy "organization" is totally useless. The first thing I do on a fresh image is to get rid of these directories.

They're all grouped by what they are instead of what project / domain they belong to, so finding anything is very inconvenient. My file explorer can help grouping files by type automatically, but it won't know what is their intent.