I’m sure you must’ve seen react components where there are a | 🤖 Coding News ⚡️
I’m sure you must’ve seen react components where there are a bunch of props being passed down, and almost always the majority of those props are boolean flags. These flags help you conditionally show a specific part of the component in a different way or sometimes even completely remove that part from the render tree. But this approach is a scaling nightmare. This component is now open to “one-off“ condition blocks.
High quality articles, videos, and tutorials about programming 💻. HTML, CSS, Sass, JavaScript, TypeScript, React, Angular, Electron, Node, Vue, GraphQL and other topics 💥. @CodingChat talk with ...