3 ms·
Atomic design principles are super fit for React component libraries. I don't take the atoms > molecules > organisms pattern quite literally though, as function
by pcmaffey 8y ago
Atomic design principles are super fit for React component libraries. I don't take the atoms > molecules > organisms pattern quite literally though, as functionally, it makes more sense to group atoms and molecules (composed of atoms) into a single dictionary of components, like a toolkit. I simply `import { hammer, nails, thumb } from tools`...
And then, my organisms are usually groups of organs, that are specific implementations or modules within the app. Anytime I build an abstraction of an organ to be used in multiple organisms, it can probably be added to my toolkit.
Also, I use CSS-Modules and avoid Redux wherever possible, because I build my applications such that state, style, and function are all local & self-contained... avoiding global variables as much as I can.