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

Revert "Fix for #1553" #1558

Merged

Conversation

Rich-Harris
Copy link
Member

Reverts #1557. After thinking this through a bit more, it feels like a design mistake — the motivating use case is to allow custom event definitions to have app-specific side-effects, which isn't what they're for (an event is just 'this thing happened', and anything that happens in response to that event should happen in the handler). Instead, we should return once more to #779.

@Rich-Harris Rich-Harris merged commit 685a36f into master Jun 23, 2018
@Rich-Harris Rich-Harris deleted the revert-1557-1553-return-from-custom-event-handler branch June 23, 2018 00:18
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