Code Snippets
Home »
![](https://montedelgallo.com/wp-content/uploads/1_cDDiXg9p6rKAja7rms4mfA.png)
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...