algolia / algolia/react-element-to-jsx-string

`useBooleanShorthandSyntax` strip false values

Open
#732 3 comments 2 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
518
Forks
87
Avg merge
3h 56m
Merged PRs (30d)
3

Description

The `useBooleanShorthandSyntax` option (which is on by default), strips `false` values.

While the behavior is fine for a `true` value: `` --> ``,
it's not for a `false` value: `` --> ``,
which is definitely not the same thing, the prop is removed completely.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.