Nothing here yet.
Nothing here yet.
Sep 25, 2021 · 1 min read · I need to display an empty state when my list is empty. That should be easy, how do you plan on achieving that? Thought about several methods: Class toggling <div> <ul className={list.length > 0 ? 'show' : 'hide'}>...</ul> <div className={li...
Join discussion