Hacker News new | past | comments | ask | show | jobs | submit login

An approach I like is to provide basic components (i.e. a toolkit) and higher order components that can be copied into the project as required. This allows maximal flexibility while also providing the possibility to DRY things up in your own codebase.

Tailwind and Tailwind components achieves this for example. Web components also come to mind.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: