Avoid Boolean Prop Proliferation

Don't add boolean props like isThread, isEditing, isDMThread to customize component behavior. Each boolean doubles possible states and creates unmaintainable conditional logic. Use composition instead.

tools-only Updated 7 repo stars

File contents

tools-only/X-Skills/tree/main/content-creation/1211-architecture-avoid-boolean-props_007555eb commit ccee19ce49

Frequently asked questions

npx skillmds@latest add tools-only/avoid-boolean-prop-proliferation