Skip to content

feat(createEvent): make a function that allows creating generic events #650

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

Merged
merged 1 commit into from
Jun 15, 2020

Conversation

kentcdodds
Copy link
Member

@kentcdodds kentcdodds commented Jun 15, 2020

What: feat(createEvent): make a function that allows creating generic events

Why: So people can create generic events. Specifically needed for certain events that user-event needs to dispatch (like the change and input events when selecting a file).

How: take the function that was created for each createEvent and move it to a paramatarized function.

Checklist:

@codesandbox-ci
Copy link

codesandbox-ci bot commented Jun 15, 2020

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit b69732f:

Sandbox Source
prod-water-gllhj Configuration

@kentcdodds kentcdodds force-pushed the pr/create-event-function branch 2 times, most recently from 811b0de to 38def37 Compare June 15, 2020 20:24
@kentcdodds kentcdodds force-pushed the pr/create-event-function branch from 38def37 to b69732f Compare June 15, 2020 20:28
@kentcdodds kentcdodds merged commit df57d7b into master Jun 15, 2020
@kentcdodds kentcdodds deleted the pr/create-event-function branch June 15, 2020 20:31
@kentcdodds
Copy link
Member Author

🎉 This PR is included in version 7.16.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

1 participant