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 "Allow multiple hooks objects, create types file" #4

Merged
merged 1 commit into from
Mar 9, 2020

Conversation

sweeetland
Copy link
Owner

Reverts #3

Having giving it more thought, I think one object with 3 arrays will be much easier to reason about and understand data flow than a variadic array.

Yes it can get messy, but that messiness can be abstracted away. And, at least there's a single source where all hooks are defined in order. Which should make understanding & debugging much easier.

@sweeetland sweeetland merged commit cb97da7 into master Mar 9, 2020
@sweeetland sweeetland deleted the revert-3-allowMultipleHooksObjects branch March 24, 2020 08:28
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