choojs / choojs/choo

Experimenting with custom elements

Open
#710 0 comments 3 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
6.8k
Forks
573
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.