Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow non-booleans in the condition prop as a convenience #57

Closed
wants to merge 1 commit into from

Conversation

hcharley
Copy link

@hcharley hcharley commented Jan 11, 2020

For #55

I think I probably also have to update the propTypes to prevent development warnings, but I'm a bit rusty on that, so I will have to figure that out later. Figure I'd open this in the meantime to get comments on the type definitions piece.

To allow for users to pass non-booleans in and evaluate simply for truthiness.
@hcharley hcharley changed the title WIP: Allow non-booleans in the condition prop as a convenience Allow non-booleans in the condition prop as a convenience Apr 30, 2020
favna added a commit that referenced this pull request Oct 19, 2020
The lib has been entirely rewritten in order to have the source code in TypeScript and leveraging
the "tsdx" package for bundling, testing and linting.

BREAKING CHANGE: As part of the rewrite, the global exports are gone. Please use CommonJS or ESM
style imports as specified in the README.

fixes #55 closes #57
@favna favna closed this in #66 Oct 21, 2020
favna added a commit that referenced this pull request Oct 21, 2020
The lib has been entirely rewritten in order to have the source code in TypeScript and leveraging
the "tsdx" package for bundling, testing and linting.

BREAKING CHANGE: As part of the rewrite, the global exports are gone. Please use CommonJS or ESM
style imports as specified in the README.

fixes #55 closes #57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant