Urgent.News

What's breaking now, across thousands of outlets.

Tech

Feature-based: why did your components folder turn into a mess?

Acho que todo dev já passou pelo momento de se deparar com um projeto e se perder no meio de tantos arquivos. Isso pode ser resultado de N fatores, e um deles pode ser a forma como o projeto está organizado. Falando especificamente de frontend, quando criamos um projeto do zero em qualquer framework, ele vai lhe entregar uma estrutura padrão, chamada de Type-based em que você consegue desenvolver…

Translated from Portuguese Read in Portuguese

A developer discusses the challenges of organizing projects, particularly in frontend development, as they grow in complexity. They explore various architectures such as DDD, Clean Architecture, MVC, and Micro-frontend, but find them too complex for simple frontend projects. The developer discovers the Feature-based approach, which involves breaking down a project into smaller, modular parts based on features or entities.

This approach offers benefits such as organization, testability, and scalability, but also requires careful consideration of trade-offs to avoid future refactoring. The developer provides an example of implementing this approach on a project and shares additional resources on GitHub.

Written by urgent.news from Dev.to's report — not a translation of it. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Linux from Zero #2 Processes: what's actually running under your terminal

Part 2 of the "Linux from Zero" series. If you haven't read #1 yet, it's on Medium and DEV.to — start there to understand the approach: investigate through evidence, not by memorizing commands.

  • The ps command reveals running processes with PID, PPID, STAT, ELAPSED, and CMD.
  • PID uniquely identifies each process; PPID shows its parent process.
  • STAT indicates process state (sleeping, running, zombie, etc.).

More from Friday 21 August →