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

Deprecate or remove ons-template #2965

Closed
emccorson opened this issue Mar 30, 2022 · 0 comments · Fixed by #2967
Closed

Deprecate or remove ons-template #2965

emccorson opened this issue Mar 30, 2022 · 0 comments · Fixed by #2967

Comments

@emccorson
Copy link
Contributor

ons-template should not be used. Instead the native template tag should be used.

We have experienced problems with users using ons-template where the fix is to switch to template.

Suggested fixes:

  1. Remove ons-template entirely.
  2. Keep ons-template but make it only render a native template.

My preference is for 2. as it will avoid a breaking change, but if ons-template has its own specific behaviour we may need to warn users that this is changing.

We should also update the documentation to make it clearer that ons-template is deprecated.

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