Skip to content

feature: Show false props when not egal to default value#733

Draft
armandabric wants to merge 1 commit into
masterfrom
show-false-props
Draft

feature: Show false props when not egal to default value#733
armandabric wants to merge 1 commit into
masterfrom
show-false-props

Conversation

@armandabric
Copy link
Copy Markdown
Collaborator

Fix ##732

@idiglove
Copy link
Copy Markdown

idiglove commented Jul 4, 2025

Hey any update on when this can get delivered? It will fix Storybook issues, ref here storybookjs/storybook#30704

pull Bot pushed a commit to dmrazzy/storybook that referenced this pull request May 29, 2026
Patches react-element-to-jsx-string (the @7rulnik fork) with
algolia/react-element-to-jsx-string#733, which removes the branch that
silently omitted boolean props explicitly set to `false`. React source
snippets now render `foo={false}` instead of dropping the prop, while
`true` props keep the shorthand syntax.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants