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

typecheck - remove spread args #53

Merged

Conversation

sbatson5
Copy link
Contributor

Per comments from @eriktrom on #52. Updating the typecheck and getting rid of the spread args.

@@ -41,7 +41,7 @@ export default Mixin.create({
ignoreTouchAction: false,

init() {
this._super(...arguments);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm still not sure why we don't want this. ember recommends we do this in all hooks, so I think we should leave it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated.

FWIW it is a possible perf hit simply because of the babel transpilation. I tried measuring the differences in a dummy app with 200+ components to see if it made a difference and the results were pretty much the same.

@sbatson5 sbatson5 force-pushed the typecheck-remove-spread-args branch from 9558c83 to a42c932 Compare March 17, 2018 17:40
@RobbieTheWagner RobbieTheWagner merged commit 18fdba3 into html-next:master Mar 19, 2018
@sbatson5 sbatson5 deleted the typecheck-remove-spread-args branch March 19, 2018 12: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.

2 participants