Code Snippets
Home »
React Conditional Rending Components
When writing react code avoid using conditional components like so: [md] ```js export default function Scores({score}) { return ( {score < 30 ? "👎" : score < 70 && score >= 30 ? "👍" : "👌"} ) } ``` [/md] They are difficult to read and very difficult to scale Read more...