TL;DR The ternary (pronounced "turn hairy" if you said it really fast) statement is just an if-else block made with symbols.
This is the first article of a series about the map, filter, and reduce array methods to clear up the confusion on how these methods work.
You have used yourArrayOfData.map to create an array of components, but how is it rendered without looping through each element?
Learn how to build a simple app that will conditionally display a Trello-like list of cards based on a user submitted card title.
Learn how to quickly configure a Next.js app with TypeScript and Tailwind CSS