Break the UI into a hierarchy
Single Responsibility Principle
Think in terms of Information Architecture
Atoms first, Molecules second
FilterableProductTable: contains the entirety of the example
FilterableProductTable
SearchBar: receives all user input
SearchBar
ProductTable: displays and filters the data collection based on user input
ProductTable
ProductCategoryRow: displays a heading for each category
ProductCategoryRow
ProductRow: displays a row for each product
ProductRow
Last updated 6 years ago
Was this helpful?