Pebbling Club 🐧🪨

  • Building a QR Code HTML Web Component | Scott Jehl, Web Designer/Developer
    Notes
    Recently, a friend asked if I knew of a Web Component that generates a QR Code from meaningful HTML. She said that there seemed to be plenty of options for creating QR codes in general, but none that worked by extending already-useful HTML instead of just configuring it all with JavaScript. I couldn't find any either, but thinking through these kinds of patterns is probably what I enjoy most about working on the web, so I thought I'd write up how I'd make one.
    Unfurl
  • A Web Component to expand or collapse all details elements | Go Make Things
    Notes
    Today, I wanted to share a little Web Component I made for expanding or collapsing all of the <details> elements on a page.
    Feed
    Unfurl
  • Webring component - Octothorpes Demo
    Notes
    Since octothorpes get registered with an Octothorpes Ring, that means you’re automatically on a webring if you’re using octothorpes. So each Ring hosts a web component that lets you put a classic webring browser on your page. You can see it working right now in the footer of this site!
    Unfurl
  • Where web components shine - daverupert.com
    Notes
    In this job we need to think a lot about the tools we choose and why, so I cataloged all the places where web components (for me) feel like ā€œthe right tool for the jobā€. Your list may be different and I’d love to read it. And because I don’t want this to be 100% propaganda, I’ll also cover some of the not-so-great parts of web components as well.
    Feed
    Unfurl
  • Web Components are not Framework Components — and That’s Okay • Lea Verou
    Notes
    The bottom line is, web components reduce the number of use cases where we need to reach for a framework, but complex large applications will likely still benefit from one. So how about we conclude that frameworks are useful, web components are also useful, stop fighting and go make awesome sh!t using whatever tools we find most productive?
    Feed
    Unfurl
  • Liskov's Gun: The parallel evolution of React and Web Components – Baldur Bjarnason
    Notes
    Web apps are the only open and standardised GUI software development and distribution platform that’s available to us. Discarding them out of spite or annoyance is exactly the sort of situation that the phrase ā€œdon’t throw the baby out with the bathwaterā€ was coined for.
    Feed
    Unfurl
  • Building a Storybook-like demo browser with web components — a much simpler way to get most of the benefits
    Notes
    I recently tried Storybook, a popular tool for browsing the demos and documentation for a UI component library. I think Storybook offers a good user experience, but its developer experience entails complexity out of proportion to its benefits. I tried creating a simpler web component library browser using web components, and am happy with the result.
    Unfurl
  • github/text-expander-element: Activates a suggestion menu to expand text snippets as you type.
    Notes
    Activates a suggestion menu to expand text snippets as you type. - github/text-expander-element
    Unfurl
  • Server-side rendering (SSR) – Lit
    Notes
    Lit supports server-side rendering through the Lit SSR package. Lit SSR renders Lit components and templates to static HTML markup in non-browser JavaScript environments like Node. It works without fully emulating the browser's DOM, and takes advantage of Lit's declarative template format to enable fast performance, achieve low time-to-first-byte, and support streaming.
    Feed
    Unfurl
  • <x-gif>
    Unfurl
  • Why Web Components Aren't Ready for Production... Yet -Telerik Developer Network
    Notes
    Web components and Polymer are exciting technologies that may fundamentally change the way we develop web applications, but because of the large performance gap between browsers that support the technologies natively (aka Chrome 36+) and those that don’t (aka every other browser), it will be difficult for most developers to use web components until they’re implemented everywhere, and there’s no way of knowing how long that will be.
    Unfurl