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

add strings support as a return value from state.useValue #16

Merged
merged 1 commit into from
May 27, 2024

Conversation

Bloomca
Copy link
Owner

@Bloomca Bloomca commented May 27, 2024

Description

Add strings/null/undefined as a return type from useValue/useValueSelector. This way we can support conditionals, and also no need to wrap return types into an additional HTML element.

Reference

Closes #7

@Bloomca Bloomca merged commit b3543d3 into main May 27, 2024
1 check passed
@Bloomca Bloomca deleted the add-strings-usevalue-return-support branch May 27, 2024 02:23
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.

Support string/undefined/null as a return type in a component
1 participant