Ask HN: How do you organize your components?

4 points by adrianvoica ↗ HN
What are some sane and future-proof models of organizing (web) components (both UI & non-UI) that you use/used successfully? Some links would be greatly appreciated.

3 comments

[ 2.7 ms ] story [ 19.5 ms ] thread
Mvc patter usually works okay for small to medium size web apps interacting with users.

Best example of course is ruby on Rails

https://storybook.js.org/ seems to be really popular
Thanks! That's kinda what I need - some hierarchy of a lot of components of various kinds, maybe from a working (preferably big/huge) project with tons of nested pieces. Usually, methodologies like BEM, OOCSS work for a certain direction, but those are more like guidelines, not actual directory/filesystem-wise organization.