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

ensureSafeComponent can be a no-op for classes on newer embers #1061

Closed
ef4 opened this issue Dec 22, 2021 · 0 comments · Fixed by #1155
Closed

ensureSafeComponent can be a no-op for classes on newer embers #1061

ef4 opened this issue Dec 22, 2021 · 0 comments · Fixed by #1155

Comments

@ef4
Copy link
Contributor

ef4 commented Dec 22, 2021

Starting with the ember-source 3.25 beta series, it became safe to invoke component classes directly with angle bracket invocation.

We should update to ensureSafeComponent so it leaves classes alone on those versions, instead of converting them to curried component definitions.

There's no bug here, it's just unnecessary work we can optimize away.

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 a pull request may close this issue.

1 participant