News for hackers. Stuff that matters.
Re:Making Web Components Work by justrobert on Tuesday June 12, 2018 @04:02PM (#17297439)
One thing their example doesn't handle is browser location history on clicking elements in their UI.

Maybe it was due to how simple the example was, but having to click back many times based on how many times a user used the interface is just bad design.

Re:Making Web Components Work by tdumitrescu on Tuesday June 12, 2018 @04:19PM (#17297584)
Sorry about that, the example was developed as a standalone SPA with history for the routing. But since we decided to embed it into the blog post itself, the pushState routing doesn't make a lot of sense in that context.
Re:Making Web Components Work by justrobert on Tuesday June 12, 2018 @05:00PM (#17297943)
Ah I figured it'd be something like that.

I'm looking forward to a future where we use web components.