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

Support returning js.Function as a cleanup handler for effect hooks #525

Merged
merged 3 commits into from
Dec 3, 2021

Conversation

shadaj
Copy link
Owner

@shadaj shadaj commented Dec 3, 2021

Fixes #495

@shadaj shadaj added this to the v0.7.0 milestone Dec 3, 2021
@shadaj shadaj merged commit 0b6a9ca into master Dec 3, 2021
@shadaj shadaj deleted the fix-495 branch December 3, 2021 08:04
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.

Add an EffectCallbackReturn.fromJSFunction to support using js.Function for effect cleanup
1 participant