How does it compare to the features based structure?. I'm having trouble with atomic design when dealing with separate components in a wide folder structure.
@tomaszbuszewski
3 күн бұрын
Hi! Atomic Design is basically architecture-agnostic. The key is to have everything in the "ui" directory and them import everything from there. So if you have a feature, you're building its view from the "ui" directory. UI shouldn't have any business logic bound to it, it should be as "stupid" as possible, so that your actual business implementation could steer it easily.
Пікірлер: 2