Jon Nyman
Jon Nyman
Yes, I like the idea of `is` and was disappointed that Safari will never implement it. But yours is even better as you can add multiple behaviors and you don't...
So, the way the built-in web components work is that the `connectedCallback` method is called multiple times. But your library it is only called once and then on subsequent times...
Note, the way I'm debugging this is by commenting out the line `elementBehaviors.define('infinite-loop', InfiniteLoop)` and then opening the console and putting break points in the class. I'm also using the...
Yeah, I'm not entirely sure about all the internals of what you are doing. So, whatever works! :-) > Why do you need to patch the outside DOM? What I'm...
I write C# code now but I do have a JSON Schema to Mongoose Schema code base that others have contributed to (that I also no longer maintain). If anyone...
Wrote my own library based on this one: https://github.com/jon49/json-schema-to-mongoose
When I needed to do this. I just returned a custom element which redirects, so like this: ```js customeElements.define("x-redirect", class extends HTMLElement { constructor() { super() let url = this.dataset.url...
Here's some example code: https://github.com/jon49/htmz-be And the website: https://jon49.github.io/htmz-be/