Frontend Dogma

“javascript” Archive

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