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

Relocate default template engine from x-element.js to x-template.js #226

Open
klebba opened this issue Nov 26, 2024 · 0 comments
Open

Relocate default template engine from x-element.js to x-template.js #226

klebba opened this issue Nov 26, 2024 · 0 comments
Assignees

Comments

@klebba
Copy link
Collaborator

klebba commented Nov 26, 2024

In order to better organize the two discrete classes we will relocate the template engine to a separate file (rather than just a separate class)

Consider a means of preventing the default template engine from being loaded at all.

Perhaps detect special options as query params on the import itself, e.g.:

import XElement from 'path/to/x-element.js?dont-do-it';

Importantly we do not want to require a change in the manner in which the library is included — it should always only require import XElement from 'path/to/x-element.js';

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

No branches or pull requests

2 participants