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

Experimenting with custom elements #710

Open
mantoni opened this issue Oct 21, 2020 · 0 comments
Open

Experimenting with custom elements #710

mantoni opened this issue Oct 21, 2020 · 0 comments

Comments

@mantoni
Copy link
Contributor

mantoni commented Oct 21, 2020

Hi there 👋

I'm using Choo for a large app and I'm currently exploring how I can put custom elements to use. I have some nicely working hacks that I've put into a repo to play around with (tested with Safari and Chrome):

https://github.com/mantoni/choo-custom-elements

Some thoughts / questions:

  • Can we make it somewhat less hacky (e.g. the onrender setter)?
  • Is there an interest in finding an "official" way to do this? 👮☝️😄
  • Would it make sense to create a base class or a choo extension to make this easy?
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

1 participant