网页 综合 更新时间 2026-08-07 13:00:00

JavaScript — Smashing Magazine

自动蜘蛛 www.smashingmagazine.com 正文约 3477 字
JavaScript — Smashing Magazine
August 7, 2026 — The gap between “you need a library for this” and “the browser does this” keeps closing. A practical guide to auditing your dependencies and finding what the web platform can now handle for you. Read more…
July 17, 2026 — The common rule of thumb is to never “block” the browser’s main thread when running JavaScript tasks. But is this a hard rule? Victor Ayomipo describes a use case he encountered involving a screenshot extension where he made an exception to the rule and decided that blocking the main thread was absolutely the right thing to do. Read more…
March 13, 2026 — The way JavaScript handles time has evolved significantly, from the built-in Date API to Moment.js and now Temporal. The new standard fills gaps in the original Date API while addressing limitations found in Moment and other libraries. Joe Attardi shares practical “recipes” for migrating Moment-based code to the new Temporal API. Read more…
March 10, 2026 — Some forms stay UI, while others quietly become rule engines. Here’s why these two different approaches exist and how to choose between them. Read more…
October 27, 2025 — Here is a lesson on Iterators. Iterables implement the iterable iteration interface, and iterators implement the iterator iteration interface. Sounds confusing? Mat breaks it all down in the article. Read more…
August 8, 2025 — Internationalization isn’t just translation. It’s about formatting dates, pluralizing words, sorting names, and more, all according to specific locales. Instead of relying on heavy third-party libraries, modern JavaScript offers the Intl API — a powerful, native way to handle i18n. A quiet reminder that the web truly is worldwide. Read more…
July 21, 2025 — Event listeners are essential for interactivity in JavaScript, but they can quietly cause memory leaks if not removed properly. And what if your event listener needs parameters? That’s where things get interesting. Amejimaobari Ollornwi shares which JavaScript features make handling parameters with event handlers both possible and well-supported. Read more…
June 11, 2025 — In this tutorial, Blake Lundquist walks us through two methods of creating the “moving-highlight” navigation pattern using only plain JavaScript and CSS. The first technique uses the getBoundingClientRect method to explicitly animate the border between navigation bar items when they are clicked. The second approach achieves the same functionality using the new View Transition API. Read more…
April 23, 2025 — Poor internet connectivity doesn’t have to mean poor UX. With PWA technologies like IndexedDB, service workers, and the Background Sync API, you can build an offline-friendly image upload system that queues uploads and retries them automatically — so your users can upload stress-free, even when offline. Read more…
December 3, 2024 — Forms are already notoriously tough to customize and style — to the extent that we’re already starting to see new ideas for more flexible control. But what we don’t often discuss is designing good-form experiences beyond validation. That’s what Jima Victor discusses in this article, focusing specifically on creating multi-step forms that involve navigation between sections. Read more…
With a commitment to quality content for the design community.
Founded by Vitaly Friedman and Sven Lennartz. 2006–2026.
Smashing is proudly running on Netlify, TinaCMS and Swell.
Fonts by Latinotype.
访问原文 返回搜索 https://www.smashingmagazine.com/category/javascript/
本页为82搜索生成的网页快照,内容来自站内索引;演示数据的原文链接仅作示例。