Înapoi la articole →

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 75
  1. I just learned that the task of preloading images with JavaScript is surprisingly quirky.

  2. Ever since writing about them, the generator in JavaScript has become my favorite hammer.

  3. DNS Resolution Adds Up

    I like the satisfaction of finding quick, little wins to maximize the front-end performance of a website.

  4. Every so often, I stumble across a well-established JavaScript API in the browser that I probably should've known about years ago.

  5. I like the "syntactic sugar" JavaScript's seen over the past decade (arrow functions, template literals, destructuring assignment, etc.).

  6. I got to dabble in some content negotiation recently.

  7. It's not hard to bork your site's user experience by letting a long, expensive task hog the main thread.

  8. A couple weeks ago, I wrote about using JavaScript and forced reflows to slide open a box with an unknown amount of content (i.e.

  9. When template literal types were announced in TypeScript v4.1, nearly every example you saw used it as simpler way to enforce a choice from a fixed set of options.

  10. I'm always looking for excuses to use queueMicrotask(), a relatively sparsely used function for inserting tasks at the end of the current call stack.

  11. If you're reading this, there's a more-than-zero chance you've used a CSS transition on max-heightto slide open a box.

  12. A few weeks ago, someone emailed to let me know that JamComments wasn’t playing nicely with his Content Security Policy (CSP).

  13. I just wrapped up a Chrome Extension that allows you to convert and download any AVIF or WebP image as a more useful JPEG, PNG, or GIF (it aims to solve one of the greatest pains on the internet).

  14. When I was building PicPerf's page analyzer, I needed to figure out how to identify every image loaded on a particular page.

  15. Last year, I wrote a post about how to execute <script> tags with React's dangerouslySetInnerHTML prop.

  16. Sam Selikoff shared a slick demonstration of a React hook for animating text streamed from an LLM recently.

  17. JavaScript has supported default parameter values since ES2015.

  18. Empty Building

    I’ve started to notice my stomach bunch up when I come across #BuildInPublic hashtags, or see people throw around phrases like: “Forget everything else.

  19. While AI has absolutely flooded the digital product space for the past ~year, I've been relatively hesitant about its role within digital products.

  20. Find one of your favorite GIFs on Giphy and download it.

  21. Exploring the Possibilities of Native JavaScript Decorators – Frontend Masters Boost Native support for decorators is inevitable!

  22. Self-hosting the Plausible Analytics Community Edition is appealing for number of reasons, but it isn’t without drawbacks.

  23. Web crawlers and client-side rendered applications (SPAs) have had a weird relationship for a while now.

  24. Control JavaScript Promises from Anywhere Using Promise.withResolvers() – Frontend Masters Boost This method enhances flexibility by allowing promises to be resolved or rejected remotely, simplifying and streamlining asynchronous code.

  25. This site's content lives in a headless instance of Ghost CMS hosted on Fly.io.

  26. I remember when the Astro team first announced Starlight, their documentation framework.

  27. Search engines have long been scarily good at understanding content on the web, but there's still a lot to be gained by making explicitly clear what you're trying to say and whom it's intended to help.

  28. I’ve been observing some of the posting trends on here and it’s clear we could benefit from a few guidelines.

  29. I’ve decided I don’t like the responsive image API in HTML, or at least the idea that we still need it as a performance tool.

  30. Despite not being strictly necessary for every site, sitemaps are still an important piece of a solid SEO game, allowing search engines to crawl & index your website’s content more quickly and thoroughly (especially if your site is large, new, or poorly l…

  31. It’s interesting how language around service architecture changes as patterns fall in & out of favor.

  32. I've been working on PicPerf in some capacity for about a year now, and I'm still really happy with its API for optimizing, reformatting, and caching images: prefix the URLs with https://picperf.io.

  33. If you've installed nerd software on your machine before, you've almost certainly executed a command like this before: curl -sL https://some-domain.com/install.sh | bash If you're anything like me, it took a long time (maybe years) to even ask what that s…

  34. It probably wasn't in your local news, but something non-trivial in web development occurred early this year: Microsoft Edge added support for the AVIF image format.

  35. If you’re using Docker to self-host Plausible Analytics on DigitalOcean or any other virtual machine, you might’ve run into a “502 Bad Gateway” error when attempting to navigate to the administrator dashboard.

  36. Self-hosting Plausible Analytics offers a number of advantages, particularly if you’re keen on owning your data as much as you reasonably can, independent of the constraints any sort of managed plan might offer.

  37. Much of the time, you can get along just fine without thinking a ton about JavaScript's event loop.

  38. I've been using the self-hosted version of Plausible Analytics for a couple of years now, and I've really enjoyed it.

  39. It's hard not to appreciate the elegance of Kotlin's scope functions, which allow you to tap into object and immediately execute a block of code against it.

  40. First off, I hereby declare myself not responsible for you shooting yourself in the foot after reading this.

  41. Whenever people are duking it out over where UI should be rendered (server vs. client), compute cost inevitably comes up.

  42. Even today, it’s still worth looking at your sites with JavaScript disabled.

  43. Strive for Being "Feature-Complete"

    If you own a software package or library, resist the pressure to eternally “improve” or “make it more flexible” it by adding features.

  44. I stumbled across a pull request in Marc Grabanski's modern-todomvc-vanillajs from some time ago, where I was first introduced to the hidden DOM attribute.

  45. Lighthouse is Not Your User

    You might’ve used Google’s Lighthouse (also built into its PageSpeed Insights tool) for auditing page performance.

  46. One of my favorite features of TypeScript is discriminated unions, in which a common literal type is used to determine the narrowest possible type of an object.

  47. It's been an interesting couple of weeks debugging a DNS/connectivity issue for PicPerf's [now former] domain, so I'm taking the time to write a few thoughts down before it all goes stale.

  48. In its heyday, I was entranced by the Jamstack – particularly by its promise of performance.

  49. For decades, Jane Ross Tutoring has been serving students by providing tutoring for a wide range of subjects and tests, particularly in the college admissions space.

  50. I've been working on a small application allowing users to upload media to a Cloudflare R2 bucket.