Skip to content

Commit bc657b1

Browse files
committed
update docusaurus
1 parent b82f3e4 commit bc657b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/src/pages/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ type ColorValue = Color[ColorKey]; // Type "#B33930" | "#113A5C" | "#9C0E7D"
512512
513513
### Type Union & Boolean Flags
514514
515-
Strive to use type union variable instead multiple boolean flag variables.
515+
Embrace type unions, especially when type union options are mutually exclusive, instead multiple boolean flag variables.
516516
517517
Flags tend to compound over time and become hard to maintain, since they hide the actual app state.
518518

0 commit comments

Comments
 (0)