On Twitter I came across a great tip on displaying empty states with CSS.

When you're rendering a list, I often wrap a loop in an if/else statement to display an empty state when the list is empty.

continue reading on sebastiandedeyne.com

⚠️ This post links to an external website. ⚠️