We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b82f3e4 commit bc657b1Copy full SHA for bc657b1
website/src/pages/index.mdx
@@ -512,7 +512,7 @@ type ColorValue = Color[ColorKey]; // Type "#B33930" | "#113A5C" | "#9C0E7D"
512
513
### Type Union & Boolean Flags
514
515
-Strive to use type union variable instead multiple boolean flag variables.
+Embrace type unions, especially when type union options are mutually exclusive, instead multiple boolean flag variables.
516
517
Flags tend to compound over time and become hard to maintain, since they hide the actual app state.
518
0 commit comments