Member-only story
Angular components: I’ll add just one more input 🤞
Unmaintainable apps of the world, unite!
It’s always the most used, and common components that are the worst. It usually starts with a simple but reusable component that is expected to appear on many pages of the application. Say, a table. Simple enough, the team will probably implement it using a third party, but simplifying the API for easier use, or they will just go ahead and do a simple implementation themselves.
If you are not a Medium Member, read here for free: https://lordmairtis.wixsite.com/zdengineering/post/angular-components-i-ll-add-just-one-more-input
By the way here’s a checklist to help with the decision on using a third party or not:
Most probably the basic implementation would essentially be like:
rows = input.required<TableRow[]>();
columns = input.required<TableColumns[]>();Then comes the PO 3 weeks later:
We need to search on the new page we’ll develop, can you add one to the table?
Then we add:
search = input<string>();
searchResults =…










