Frontend Dogma

“javascript” Archive

  1. Five Basic Things About JavaScript That Will Help Non JavaScript-Focused Web Designers · · ,
  2. Why Patching Globals Is Harmful · ·
  3. Securing Client-Side JavaScript · · ,
  4. The Problem With “new URL()”, and How “URL.parse()” Fixes That · ·
  5. How to Escape JavaScript for a Script Tag · · , ,
  6. Celebrate JavaScript Naked Day Every Year on April 24 · · ,
  7. Detect JavaScript Support · · , ,
  8. April 24 Is JS Naked Day · · ,
  9. Detect JavaScript Support in CSS · · , ,
  10. The “Intl.Segmenter” Object Is Now Part of Baseline · · , , ,
  11. Converting Plain Text to Encoded HTML With Vanilla JavaScript · · ,
  12. Interview With Senior JS Developer 2024 · · , , , , , ,
  13. Introducing JS Naked Day · · ,
  14. Let Me Be · · ,
  15. Accessible Interactions in JavaScript Apps · · , , ,
  16. JS Naked Day · · , ,
  17. Learn JavaScript · ·
  18. Object Structure in JavaScript Engines · · ,
  19. 10 JavaScript Sites Every Web Developer Should Know · · ,
  20. The Easy Way to Access the Last JavaScript Array Element · ·
  21. Finally Understanding How “Array.sort(comparator)” Works · ·
  22. History of JS Interop in Dart · · , ,
  23. A Guide to Building CLI Tools in JavaScript · · , , ,
  24. Setting and Persisting Color Scheme Preferences With CSS and a “Touch” of JavaScript · · , ,
  25. JavaScript Visualized: Promise Execution · ·
  26. Incredible JavaScript Animation Libraries · · , ,
  27. “__dirname” Is Back in Node.js With ES Modules · · ,
  28. Optimizing JavaScript for Fun and for Profit · ·
  29. A Comparison of JavaScript CRDTs · · ,
  30. Comparing ECMAScript Modules and CommonJS · · ,
  31. Copy Objects Ways in JavaScript · ·
  32. Another JS Registry—Seriously?! · · , ,
  33. 25 Unnoticeable Features of JavaScript ·
  34. Spread vs. Rest Operators in JavaScript · · ,
  35. 5 Exciting New JavaScript Features in 2024 ·
  36. Comparing JavaScript Frameworks: Templates · · , ,
  37. Things I Learned While Building My JS Library · · ,
  38. JavaScript Runs the World—Maybe Even Literally · · ,
  39. The Faster Lambda Runtime—Node.js or LLRT? We Benchmarked · · , , , ,
  40. TIL—“submit()” versus “requestSubmit()” · ·
  41. Introducing JSR—the JavaScript Registry · · , ,
  42. Eloquent JavaScript · · ,
  43. A Fun Line of Code · · ,
  44. What Is a Single-Page Application? · · , ,
  45. Vanilla JavaScript, Libraries, and the Quest for Stateful DOM Rendering · · , ,
  46. JSR: What We Know So Far About Deno’s New JavaScript Package Registry · · , ,
  47. JavaScript Bloat in 2024 · ·
  48. Why Is JavaScript Fragile? ·
  49. “random()” Distribution Visualizer · ·
  50. Control Lazy Load, Infinite Scroll, and Animations in React · · , , ,
  51. 17 Equations That Changed the World—Rewritten in JavaScript · ·
  52. JavaScript on Demand: How Qwik Differs from React Hydration · · , , ,
  53. JavaScript Workers · · ,
  54. Top 20 JavaScript One-Liners That Don’t Actually Work ·
  55. Be Aware of Arrays—V8 Engine Advice · · , ,
  56. Offloading JavaScript With Custom Properties · · ,
  57. Lessons Learned Moving Eleventy from CommonJS to ESM in 2024 · · , , , ,
  58. JavaScript vs. Python: Which One Should You Learn First? · · ,
  59. JavaScript Promises Demystified · ·
  60. In Praise of the “switch” Statement ·
  61. Immutable Array Updates With “Array.prototype.with” · · , ,
  62. Detect Caps Lock With JavaScript ·
  63. From Many to One: Moving Our JavaScript Code into a Monorepo · · , ,
  64. Web Components in Earnest · ·
  65. What Is JSDoc and Why You May Not Need TypeScript for Your Next Project · · ,
  66. The Bun Shell · · ,
  67. Create a Currency Converter With HTML, CSS, and Vanilla JavaScript · · , ,
  68. Safely Accessing the DOM With Angular SSR · · , , ,
  69. JavaScript Array “sort()” vs. “toSorted()” (New in ES 2023) · · , , ,
  70. Dispatching an Event · ·
  71. The Golden Rule of Assertions · ·
  72. Difference Between “getElementByID” and “querySelector” · · ,
  73. Web Component Gotcha: “constructor” vs. “connectedCallback” · · ,
  74. JS Perf Wins and New Node.js Features With Yagiz Nizipli · · , , ,
  75. Using CSS Houdini to Extend Styling and Layout Capabilities · · ,
  76. Introducing fsx: A Modern Filesystem API for JavaScript · · ,
  77. Understanding Immutability in JavaScript · ·
  78. Declaring Globals Isn’t That Hard · · ,
  79. Weird Things Engineers Believe About Web Development · · , , ,
  80. A Lot of What People Use React for Would Be Better Handled With Vanilla JavaScript · · ,
  81. 2024 Predictions by JavaScript Frontend Framework Maintainers · · , , , , ,
  82. 10 Interview Questions Every JavaScript Developer Should Know in 2024 · · , , ,
  83. Let’s Bring Back JavaScript’s “with()” Statement ·
  84. Making Sense of “Senseless” JavaScript Features ·
  85. I Built the Same App 7 Times: Which JS Framework Is Best? · · ,
  86. JS Design Patterns: A Comprehensive Guide · · ,
  87. The Devil Is in the Details: A Look into a Disclosure Widget Markup · · ,
  88. FileReader API · ·
  89. JavaScript Frameworks—Heading into 2024 · · ,
  90. Classes vs. Prototypes in JavaScript · ·
  91. View Transitions · · ,
  92. New JS Array Methods · ·
  93. Christmas Tree Animations Made With CSS and JS · · , , ,
  94. Introducing JavaScript Support in MySQL · · , ,
  95. V8 Is Faster and Safer Than Ever · · , ,
  96. Extending Responsive Video With HTML Web Components · · , ,
  97. Test-Driven HTML and Accessibility · · , ,
  98. The “await” Event Horizon in JavaScript · ·
  99. Behavior Belongs in the HTML · · ,
  100. A List of JavaScript Engines, Runtimes, Interpreters · · , ,
  101. Stop Nesting Ternaries in JavaScript · ·
  102. Custom Events in Web Components · · ,
  103. How Marketing Changed OOP in JavaScript · · ,
  104. Fastest Way of Passing State to JavaScript, Re-Visited · · ,
  105. You Don’t Need JavaScript for That ·
  106. Let’s Learn How Modern JavaScript Frameworks Work by Building One · · , , ,
  107. 10 JavaScript Changes You Missed in 2023 · · ,
  108. Web Components Eliminate JavaScript Framework Lock-In · · , ,
  109. Kicking the Excessive JavaScript Habit · · , ,
  110. OOP Design Patterns in JavaScript · ·
  111. State of JavaScript 2023 · ·
  112. Demystifying Web Push Notifications · ·
  113. The Unbearable Weight of Massive JavaScript · · , ,
  114. HTML Web Components Are Just JavaScript? · · ,
  115. Exploring V8’s Strings: Implementation and Optimizations · · , ,
  116. NaN or Not a Number? ·
  117. ES6 Features You Didn’t Know You Needed: A JavaScript Guide for Beginners · ·
  118. How to Use Timeouts in Node.js · · ,
  119. Handling Null, Undefined, and Zero Values in JavaScript ·
  120. How to Use npm Packages Outside of Node · · , ,
  121. How to Do a TypeScript Conversion · · , , , ,
  122. Blinded by the Light DOM · · , ,
  123. Speeding Up the JavaScript Ecosystem—Tailwind CSS · · ,
  124. A Complete Guide to LangChain in JavaScript · · , ,
  125. Why Signals Are Better Than React Hooks · · , , , ,
  126. Don’t Disable Buttons · · ,
  127. Web Components Will Outlive Your JavaScript Framework · · ,
  128. Unlocking JavaScript Design Patterns: Mastering Singleton for Ultimate Code Efficiency · · ,
  129. Changing Colors in an SVG Element Using CSS and JavaScript · · , ,
  130. JavaScript Decorators: An In-Depth Guide · ·
  131. JavaScript Is Enabled by Default in Web Browsers · · ,
  132. JavaScript Anti-Pattern: Self-Documenting Code · · ,
  133. What Removing Object Properties Tells Us About JavaScript · ·
  134. How to Map a Number Between Two Ranges · · ,
  135. Solid.js Creator Outlines Options to Reduce JavaScript Code · ·
  136. The Nuances of Base64 Encoding Strings in JavaScript · ·
  137. “JavaScript Is Weird” as a Compressor · ·
  138. Let’s Prototype a JavaScript JIT Compiler · · , ,
  139. The Global “innerWidth” and “innerHeight” Properties Return the Width and Height of the Layout Viewport · · ,
  140. Speeding Up the JavaScript Ecosystem—the Barrel File Debacle · · ,
  141. How Did You Switch from JavaScript to TypeScript? · · , ,
  142. An Interactive Intro to CRDTs · · ,
  143. Your Website Does Not Need JavaScript · · ,
  144. All the Ways to Turn an Array into an Object in Javascript · · ,
  145. Test Assertion Styles in JavaScript · ·
  146. A Comprehensive Guide to the Dangers of Regular Expressions in JavaScript · · , ,
  147. A Socket API That Works Across JavaScript Runtimes—Announcing a WinterCG Spec and Node.js Implementation of “connect()” · · ,
  148. Stop Using JS for That: Moving Features to CSS and HTML · · , ,
  149. The Saga of the Closure Compiler, and Why TypeScript Won · · , ,
  150. How to Escape CSS Selectors in JavaScript · · , , ,
  151. Speeding Up the JavaScript Ecosystem—Polyfills Gone Rogue · · ,
  152. The Character Encoding Cheat Sheet for JS Developers · · , ,
  153. What Is Strict Mode in JavaScript? ·
  154. What Can You Do With “data” Attributes? · ·
  155. Understanding the JavaScript Modulo Operator · ·
  156. Arrow Functions vs. Traditional Functions in JavaScript · · , ,
  157. The JS Community on Twitter Is Dead · · ,
  158. Writing Clean Code: Best Practices and Principles · · , , , ,
  159. JavaScript Is Getting Array Grouping Methods · ·
  160. Use Cases for IIFEs ·
  161. JPEG and EXIF Data Manipulation in JavaScript · · ,
  162. Discover Bun—a Faster, Modern JavaScript Runtime · · ,
  163. Bun, Javascript, and TCO · · ,
  164. A New Method to Validate URLs in JavaScript · · ,
  165. JavaScript WTF: Why Does “every()” Return “true” for Empty Arrays? ·
  166. Delay, Sleep, Pause, and Wait in JavaScript ·
  167. The “Array.prototype.every()” Method Always Returns “true” for an Empty Array · ·
  168. Using Labeled Loops in JavaScript ·
  169. Node.js vs. Deno vs. Bun: JavaScript Runtime Comparison · · , , , ,
  170. Clocks and Countdowns: Timing in CSS and JavaScript · ·
  171. Visualizing Recursion With the Sierpinski Triangle · ·
  172. Scope vs. Shadow DOM · · , , , ,
  173. Catching Errors Thrown from “connectedCallback” · · ,
  174. Patterns for Reactivity With Modern Vanilla JavaScript · ·
  175. Adding a “Share to Mastodon” Link to Any Web Site · · , , ,
  176. Demystifying CORS: Understanding How Cross-Origin Resource Sharing Works · · ,
  177. A Better “setTimeout()” in JavaScript ·
  178. A Guide to Optimizing JavaScript Files · · , , , ,
  179. Progressively Enhanced Form Validation: Layering in JavaScript · · , ,
  180. An Intro to State-Based UI With JavaScript · · ,
  181. A Compilation of Outstanding Testing Articles (With JavaScript) · · ,
  182. Prepare to Spy on a Method Added Dynamically · · , , ,
  183. Evading JavaScript Anti-Debugging Techniques · ·
  184. Front End Practice: Top 25+ JavaScript Code Best Practices for Development · ·
  185. Run JavaScript/WASM in Python: High-Level SpiderMonkey Bindings to Python With PythonMonkey · · ,
  186. Combining Data With Multiple Fetch Requests · · ,
  187. Promises Training · · , ,
  188. 10 Simple CSS and JavaScript Micro-Interactions for Buttons · · , ,
  189. Anyone Else Notice That [Hacker News] Isn’t Full of JavaScript Frameworks Lately? · · ,
  190. 5 Inconvenient Truths About TypeScript · · ,
  191. Lightweight JavaScript Framework Review (for Django Developers) · · , , ,
  192. A Case Study on Scroll-Driven Animations Performance · · , , ,
  193. Tree Shaking in JavaScript · ·
  194. JavaScript Debounce, Easiest Explanation (With Code) · ·
  195. All the Places Where You Can Use “prefers-color-scheme” Media Query · · , , ,
  196. In Defence of “DOM­Content­Loaded” · · ,
  197. CommonJS Is Hurting JavaScript ·
  198. JavaScript Gom Jabbar ·
  199. JavaScript Console Methods: A Deep Dive · · ,
  200. What’s Next for JavaScript: New Features to Look Forward To ·
  201. Demystifying JavaScript Operators: What Does That Symbol Mean? · ·
  202. Converting [a] JavaScript Codebase to TypeScript · · , ,
  203. An Introduction to Command Injection Vulnerabilities in Node.js and JavaScript · · , ,
  204. The Cost of JavaScript 2023 · · ,
  205. Too Much JavaScript? Why the Frontend Needs to Build Better · · ,
  206. Using Multiple Selectors With JavaScript Selector Methods · ·
  207. Import Maps to Natively Import JavaScript Modules Using Bare Names ·
  208. Must Know JavaScript API—IndexedDB API · · , ,
  209. Reducing Complexity in Front End Development · · , ,
  210. Primitive Objects in JavaScript: When to Use Them · ·
  211. The Many Ways to Select the n-th Character from a String ·
  212. Why We Should Stop Using JavaScript According to Douglas Crockford · ·
  213. Asynchronous JavaScript for Beginners ·
  214. I Think I Finally “Get” JS Objects · ·
  215. An Introduction to JavaScript Proxies · ·
  216. Cracking the Theme Switcher and Dark Mode · · ,
  217. 21 Awesome Web Features You’re Not Using Yet · · , ,
  218. Plain Old JavaScript and the DOM · ·
  219. Why Does “👩🏾‍🌾” Have a Length of 7 in JavaScript? · ·
  220. How to Draw Any Regular Shape With Just One JavaScript Function · · ,
  221. Working With URLs With Vanilla JavaScript · ·
  222. Using “linear()” for Better Animation · · ,
  223. Write Better Code by Following These JavaScript Best Practices · ·
  224. Getting an Item an Array With a Negative Index With Modern JavaScript · ·
  225. Get Full Type Support With Plain JavaScript ·
  226. An Introduction to the Bun JavaScript Runtime · · ,
  227. Regular Expressions in JavaScript · ·
  228. The JavaScript Ecosystem Is Delightfully Weird ·
  229. ES2023 Introduces New Array Copying Methods to JavaScript · · , ,
  230. Script Evaluation and Long Tasks · · ,
  231. How to Configure Path Aliases in Frontend Projects in the Native Way · · ,
  232. Detecting If an Event Was Triggered by a User or by JavaScript · ·
  233. How to Write More Efficient JavaScript Conditions · · ,
  234. Practical Guide to Not Blocking the Event Loop · · , ,
  235. My Favorite Free Courses to Learn JavaScript in Depth · · , ,
  236. Write Better CSS by Borrowing Ideas from JavaScript Functions · · , ,
  237. JS Private Class Fields Considered Harmful ·
  238. How to Deep Merge Arrays and Objects With JavaScript · · , ,
  239. Discovering the Power of JavaScript Proxy After All This Time ·
  240. The “const” Deception ·
  241. Exploring the Potential of Web Workers for Multithreading on the Web · · , ,
  242. Read-Only Web Apps · ·
  243. Signals: Fine-Grained Reactivity for JavaScript Frameworks · · , ,
  244. Speeding Up the JavaScript Ecosystem—Draft-js Emoji Plugin · · ,
  245. Consume Web Streams from OpenAI Using Vanilla JavaScript · · , , ,
  246. 4 Ways to Create an Enum in JavaScript ·
  247. How to Work With Dates and Times in Vanilla JavaScript · ·
  248. Shallow vs. Deep Copying in JavaScript · ·
  249. Boost Your JavaScript With JSDoc Typing · · ,
  250. Programming-Language Popularity by GitHub Pull Requests · · , , , , ,