Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
I am super noob, but ternary looks good only with 2 conditions. I would rather have more rows than a line so long
A very commmon eslint rule is no nested ternary. This would not fly in many teams.
also harder to debug
This is def clever but not best practice. Never do this in real code. This is not readable. Not maintanable. Not extensible.
This is def best practice