Frontend Dogma

“javascript” Archive (2)

  1. The Unbearable Weight of Massive JavaScript (by/via) · · , ,
  2. HTML Web Components Are Just JavaScript? (by/via) · · ,
  3. What Is Transpiling in JavaScript? (via) · · , ,
  4. Exploring V8’s Strings: Implementation and Optimizations (by) · · , ,
  5. NaN or Not a Number? (by/via) ·
  6. ES6 Features You Didn’t Know You Needed: A JavaScript Guide for Beginners (via) · ·
  7. How to Use Timeouts in Node.js (by/via) · · ,
  8. Handling Null, Undefined, and Zero Values in JavaScript (by/via) ·
  9. How to Use npm Packages Outside of Node (via) · · , ,
  10. How to Do a TypeScript Conversion (by) · · , , , ,
  11. Speeding Up the JavaScript Ecosystem—Tailwind CSS (by) · · ,
  12. Personal-Scale Web Scraping for Fun and Profit · · , ,
  13. Blinded by the Light DOM (by) · · , ,
  14. Why Signals Are Better Than React Hooks (by) · · , , , ,
  15. A Complete Guide to LangChain in JavaScript (by/via) · · , ,
  16. Don’t Disable Buttons (by) · · ,
  17. Arrays—Implementation in JavaScript (by) · ·
  18. Web Components Will Outlive Your JavaScript Framework (by) · · ,
  19. What Removing Object Properties Tells Us About JavaScript (by/via) · ·
  20. Unlocking JavaScript Design Patterns: Mastering Singleton for Ultimate Code Efficiency (by) · · ,
  21. JavaScript Is Enabled by Default in Web Browsers (by) · · ,
  22. JavaScript Decorators: An In-Depth Guide (by/via) · ·
  23. JavaScript Anti-Pattern: Self-Documenting Code (by) · · ,
  24. Changing Colors in an SVG Element Using CSS and JavaScript (by) · · , ,
  25. How to Map a Number Between Two Ranges (by) · · ,
  26. Solid.js Creator Outlines Options to Reduce JavaScript Code (by/via) · ·
  27. Start Styling Your “console.log()” Messages in DevTools (by/via) · · , , ,
  28. The Nuances of Base64 Encoding Strings in JavaScript (by) · ·
  29. “JavaScript Is Weird” as a Compressor (by) · ·
  30. Let’s Prototype a JavaScript JIT Compiler (by) · · , ,
  31. The Global “innerWidth” and “innerHeight” Properties Return the Width and Height of the Layout Viewport (by/via) · · ,
  32. Speeding Up the JavaScript Ecosystem—the Barrel File Debacle (by) · · ,
  33. How Did You Switch From JavaScript to TypeScript? · · , ,
  34. An Interactive Intro to CRDTs (by) · · ,
  35. Your Website Does Not Need JavaScript (by/via) · · ,
  36. Comparing JavaScript Bundlers: Rollup vs. Webpack vs. Parcel (by/via) · · , , , , ,
  37. All the Ways to Turn an Array Into an Object in JavaScript (by) · · ,
  38. Test Assertion Styles in JavaScript (by) · ·
  39. A Socket API That Works Across JavaScript Runtimes—Announcing a WinterCG Spec and Node.js Implementation of “connect()” (by+/via) · · ,
  40. A Comprehensive Guide to the Dangers of Regular Expressions in JavaScript (by/via) · · , ,
  41. What Is Transpiling? · · ,
  42. The Saga of the Closure Compiler, and Why TypeScript Won (by) · · , ,
  43. Stop Using JS for That: Moving Features to CSS and HTML (by/via) · · , ,
  44. Mastering Closures in JavaScript: A Comprehensive Guide (by) · · , ,
  45. How to Escape CSS Selectors in JavaScript (by) · · , , ,
  46. What Is Strict Mode in JavaScript? ·
  47. The Character Encoding Cheat Sheet for JS Developers (by/via) · · , ,
  48. Speeding Up the JavaScript Ecosystem—Polyfills Gone Rogue (by) · · ,
  49. What Can You Do With “data” Attributes? (by) · ·
  50. Understanding the JavaScript Modulo Operator (by) · ·
  51. Arrow Functions vs. Traditional Functions in JavaScript (by) · · , ,
  52. The JS Community on Twitter Is Dead (by) · · ,
  53. Writing Clean Code: Best Practices and Principles (by) · · , , , ,
  54. JavaScript Is Getting Array Grouping Methods (by) · ·
  55. Use Cases for IIFEs (by) ·
  56. JPEG and EXIF Data Manipulation in JavaScript (by/via) · · ,
  57. Discover Bun—a Faster, Modern JavaScript Runtime (by) · · ,
  58. Bun, JavaScript, and TCO (by) · · ,
  59. JavaScript WTF: Why Does “every()” Return “true” for Empty Arrays? (by) ·
  60. A New Method to Validate URLs in JavaScript (by) · · ,
  61. The “Array.prototype.every()” Method Always Returns “true” for an Empty Array (by) · ·
  62. Delay, Sleep, Pause, and Wait in JavaScript (by/via) ·
  63. Using Labeled Loops in JavaScript (by) ·
  64. Node.js vs. Deno vs. Bun: JavaScript Runtime Comparison (via) · · , , , ,
  65. Clocks and Countdowns: Timing in CSS and JavaScript (by) · ·
  66. Visualizing Recursion With the Sierpinski Triangle (by) · · ,
  67. Scope vs. Shadow DOM (by) · · , , , ,
  68. Catching Errors Thrown From “connectedCallback” (by) · · ,
  69. Patterns for Reactivity With Modern Vanilla JavaScript (by/via) · ·
  70. Demystifying CORS: Understanding How Cross-Origin Resource Sharing Works · · ,
  71. Adding a “Share to Mastodon” Link to Any Web Site (by) · · , , ,
  72. A Better “setTimeout()” in JavaScript (by) ·
  73. A Guide to Optimizing JavaScript Files (by/via) · · , , , ,
  74. Progressively Enhanced Form Validation: Layering in JavaScript (by/via) · · , ,
  75. An Intro to State-Based UI With JavaScript (by) · · ,
  76. A Compilation of Outstanding Testing Articles (With JavaScript) (by/via) · · ,
  77. Prepare to Spy on a Method Added Dynamically (by) · · , , ,
  78. Evading JavaScript Anti-Debugging Techniques (by/via) · ·
  79. Front End Practice: Top 25+ JavaScript Code Best Practices for Development · ·
  80. Run JavaScript/WASM in Python: High-Level SpiderMonkey Bindings to Python With PythonMonkey · · ,
  81. Speeding Up V8 Heap Snapshots (by/via) · · , , ,
  82. Promises Training (by) · · , ,
  83. Combining Data With Multiple Fetch Requests (by) · · ,
  84. 10 Simple CSS and JavaScript Micro-Interactions for Buttons (by/via) · · , ,
  85. Anyone Else Notice That [Hacker News] Isn’t Full of JavaScript Frameworks Lately? · · ,
  86. 5 Inconvenient Truths About TypeScript (by) · · ,
  87. Lightweight JavaScript Framework Review (for Django Developers) (by) · · , , ,
  88. A Case Study on Scroll-Driven Animations Performance (via) · · , , ,
  89. Tree Shaking in JavaScript (by) · ·
  90. JavaScript Debounce, Easiest Explanation (With Code) · ·
  91. All the Places Where You Can Use “prefers-color-scheme” Media Query (by) · · , , ,
  92. In Defence of “DOM­Content­Loaded” (by) · · ,
  93. CommonJS Is Hurting JavaScript (by/via) ·
  94. JavaScript Gom Jabbar (by) ·
  95. JavaScript Console Methods: A Deep Dive (by) · · ,
  96. What’s Next for JavaScript: New Features to Look Forward To (by/via) ·
  97. Demystifying JavaScript Operators: What Does That Symbol Mean? (by/via) · ·
  98. Converting [a] JavaScript Codebase to TypeScript (by/via) · · , ,
  99. An Introduction to Command Injection Vulnerabilities in Node.js and JavaScript (by) · · , , ,
  100. The Cost of JavaScript 2023 (by) · · ,
  101. Using Multiple Selectors With JavaScript Selector Methods (by) · ·
  102. Too Much JavaScript? Why the Frontend Needs to Build Better (by/via) · · ,
  103. Import Maps to Natively Import JavaScript Modules Using Bare Names (by) ·
  104. Must Know JavaScript API—IndexedDB API (by/via) · · , ,
  105. Reducing Complexity in Front End Development (by/via) · · , ,
  106. Primitive Objects in JavaScript: When to Use Them (via) · ·
  107. The Many Ways to Select the n-th Character From a String (by) ·
  108. Why We Should Stop Using JavaScript According to Douglas Crockford (by/via) · ·
  109. Asynchronous JavaScript for Beginners (by+/via) ·
  110. I Think I Finally “Get” JS Objects (by) · ·
  111. Cracking the Theme Switcher and Dark Mode (by/via) · · ,
  112. An Introduction to JavaScript Proxies (by/via) · ·
  113. 21 Awesome Web Features You’re Not Using Yet (by/via) · · , ,
  114. Why Does “👩🏾‍🌾” Have a Length of 7 in JavaScript? (by) · ·
  115. Plain Old JavaScript and the DOM (by) · ·
  116. How to Draw Any Regular Shape With Just One JavaScript Function (by/via) · · ,
  117. Working With URLs With Vanilla JavaScript (by) · ·
  118. Building Offline-First Web Applications With Service Workers and IndexedDB (by) · · , , , ,
  119. Using “linear()” for Better Animation (by) · · ,
  120. Write Better Code by Following These JavaScript Best Practices (by) · ·
  121. Getting an Item an Array With a Negative Index With Modern JavaScript (by) · ·
  122. Get Full Type Support With Plain JavaScript (via) ·
  123. The JavaScript Ecosystem Is Delightfully Weird (by/via) ·
  124. Regular Expressions in JavaScript (by/via) · ·
  125. An Introduction to the Bun JavaScript Runtime (by/via) · · ,
  126. ES2023 Introduces New Array Copying Methods to JavaScript (by/via) · · , ,
  127. Script Evaluation and Long Tasks (by/via) · · ,
  128. How to Configure Path Aliases in Frontend Projects in the Native Way · · , ,
  129. How Do You Declare Namespace in JavaScript? · ·
  130. How to Write More Efficient JavaScript Conditions (via) · · ,
  131. Detecting if an Event Was Triggered by a User or by JavaScript (by/via) · ·
  132. Practical Guide to Not Blocking the Event Loop · · , , ,
  133. My Favorite Free Courses to Learn JavaScript in Depth (by) · · , ,
  134. Write Better CSS by Borrowing Ideas From JavaScript Functions (by/via) · · , ,
  135. JS Private Class Fields Considered Harmful (by) ·
  136. How to Deep Merge Arrays and Objects With JavaScript (by) · · , ,
  137. Discovering the Power of JavaScript Proxy After All This Time (by) ·
  138. The “const” Deception (by) ·
  139. Exploring the Potential of Web Workers for Multithreading on the Web (by/via) · · , ,
  140. Read-Only Web Apps (by) · ·
  141. Signals: Fine-Grained Reactivity for JavaScript Frameworks (by/via) · · , ,
  142. Speeding Up the JavaScript Ecosystem—Draft-js Emoji Plugin (by) · · ,
  143. Consume Web Streams From OpenAI Using Vanilla JavaScript (by) · · , , ,
  144. 4 Ways to Create an Enum in JavaScript (by) ·
  145. How to Work With Dates and Times in Vanilla JavaScript (by) · ·
  146. Shallow vs. Deep Copying in JavaScript (by/via) · ·
  147. Boost Your JavaScript With JSDoc Typing (by) · · , ,
  148. Programming-Language Popularity by GitHub Pull Requests (by) · · , , , , ,
  149. Observing CSS (by) · · ,
  150. JavaScript Memory Management: A Comprehensive Guide to Garbage Collection in JavaScript (via) · · , ,
  151. Copy to Clipboard in JavaScript and React (by) · ·
  152. A Small JavaScript Pattern I Enjoy Using (by) ·
  153. Why JavaScript Is a Prototype-Based OOP (by) · ·
  154. JavaScript Import Maps Are Now Supported Cross-Browser (by/via) · · ,
  155. Mastering the JavaScript “switch” Statement (by/via) ·
  156. Defaulting on Single Page Applications (SPA) (by) · · ,
  157. The State of JS Frameworks (by+/via) · · , ,
  158. File Uploads for the Web: Upload Files With JavaScript (by) · ·
  159. With or Without the JS Framework (by) · · ,
  160. Speeding Up the JavaScript Ecosystem—npm Scripts (by) · · , ,
  161. Time to Move on From Nunjucks? (by) · · , , ,
  162. Unexpected Moments of JavaScript That Will Challenge Your Understanding of the Language (by) ·
  163. JavaScript Polyfills (by) · ·
  164. JavaScript for Beginners: Data Structures · · ,
  165. Progressively Enhancing a Table With a Web Component (by) · · , , ,
  166. JavaScript: Automatically Remove an Event Listener After It Has Executed (by) · ·
  167. The Ternary Operator in JavaScript (by) · ·
  168. Create and Download Text Files Using JavaScript (by) ·
  169. Evolving Custom Sliders (by/via) · ·
  170. All JavaScript and TypeScript Features From the Last 3 Years (via) · · ,
  171. Change Favicon on Switching Browser Tabs in JavaScript (by) · · ,
  172. ARIA Live Regions for JavaScript Frameworks (by/via) · · , , ,
  173. 10 Helpful JavaScript Utility Functions (by) · ·
  174. Client-Side JavaScript and React Criticism: What Comes Next? (by) · · , , , ,
  175. Making the Case for Signals in JavaScript (by/via) · ·
  176. React vs. Signals: 10 Years Later (by/via) · · , , ,
  177. The Evolution of Signals in JavaScript (by/via) · ·
  178. The Coolest JavaScript Features From the Last 5 Years (by) · ·
  179. Dithering Images With React/JavaScript (by) · · , ,
  180. Debugging JavaScript Like a Pro: Tools and Techniques for Finding and Fixing Bugs (by) · · , ,
  181. Experiments With the JavaScript Garbage Collector (by/via) · · ,
  182. All About Promises in JavaScript (by) · ·
  183. When JavaScript Fails (by) ·
  184. The Great Gaslighting of the JavaScript Era (by) · · ,
  185. How to Handle Date and Time With JavaScript (via) · ·
  186. The State of JS Frameworks (by+/via) · · ,
  187. Writing JavaScript Without a Build System (by) · ·
  188. The User Activation API (by/via) · ·
  189. Is It Worth Learning JavaScript? Popularity, Salaries, and Future (via) · ·
  190. Well-Known Symbols (by) ·
  191. This Is Why Performance Matters (by) · · ,
  192. So, What’s Next [for core-js]? (by) · · , ,
  193. Change Tab Bar Color Dynamically Using JavaScript (by) · · , ,
  194. Sandboxing JavaScript Code (by) · ·
  195. Rethinking the Modern Web (by) · · ,
  196. The Case for Frameworks (by) · · ,
  197. Discovering Primitive Objects in JavaScript (via) · ·
  198. Use Maps More and Objects Less (by/via) · ·
  199. Table of Contents Progress Animation (by) · · , ,
  200. Speeding Up the JavaScript Ecosystem—ESLint (by) · · , ,
  201. The Market for Lemons (by) · · ,
  202. Rotating Gallery With CSS Scroll-Driven Animations (by) · · , , ,
  203. Multi-Threaded React App Using useWorker (by) · · , ,
  204. The YAML Document From Hell—JavaScript Edition (by) · ·
  205. How to Get the Last Matching Item in an Array With Vanilla JavaScript (by) · · ,
  206. Cancel Duplicate Fetch Requests in JavaScript Enhanced Forms (by) · ·
  207. The Ultimate Guide to JavaScript Error Handling (by/via) · · ,
  208. Using Local Storage in JavaScript and React (by) · · ,
  209. You’ve Got Options for Removing Event Listeners (by) · ·
  210. Accessible Hamburger Buttons Without JavaScript · · ,
  211. 10 GitHub Repositories You Should Know as a JavaScript Developer (by) · · , , ,
  212. Flow Control in JavaScript: Callbacks, Promises, “async/await” (by+/via) · · ,
  213. “scrollend”, a New JavaScript Event (by/via) · ·
  214. 10 Web Development Trends in 2023 (by) · · , , , , , ,
  215. Is CSS-in-JS Actually Bad? (by) · · ,
  216. So You Want to Make a New JS Framework (by) · ·
  217. Deep Cloning Objects in JavaScript, the Modern Way (by/via) · ·
  218. Promises, Thenables, and Lazy-Evaluation: What, Why, How (by) · ·
  219. A Better Way to Work With Number and Date Inputs in JavaScript (by/via) ·
  220. Speeding Up the JavaScript Ecosystem—Module Resolution (by) · · ,
  221. Advanced Usage Patterns for Taking Page Element Screenshots With Playwright (by) · · ,
  222. Four Ways to Chop Up Arrays (with Vanilla JavaScript) (by) · ·
  223. The State of JavaScript 2022 (by/via) · ·
  224. The Gotcha of Unhandled Promise Rejections (by) · ·
  225. JavaScript, Community (by) · ·
  226. Why Not “document.write()”? (by) · ·
  227. 2022 JavaScript Rising Stars (by) · · , ,
  228. Top 13 Templating Engines for JavaScript to Improve and Simplify Your Workflow 2023 (by/via) · · , , ,
  229. Conditional API Responses for JavaScript vs. HTML Forms (by) · · , , ,
  230. Cloning Arrays and Objects in Vanilla JavaScript (by) · · ,
  231. Intro to JavaScript Closures (by) · · ,
  232. JavaScript Frameworks—Heading Into 2023 (by/via) · ·
  233. Building an Accessible Theme Picker With HTML, CSS, and JavaScript (by) · · , , , ,
  234. Signals: The Nitty-Gritty (by/via) · · ,
  235. Pointer Events (by) · · ,
  236. Using Inline JavaScript Modules to Prevent CSS Blockage (by/via) · · ,
  237. ECMAScript Proposal: Iterator Helpers (by) · · ,
  238. The Most Popular CSS-in-JS Libraries in 2022 (via) · · , ,
  239. Get Off the Main Thread With an Inline Web Worker: An Example (by/via) · · , ,
  240. How to Merge Objects in JavaScript (via) · · ,
  241. JavaScript Polyfills for Interviews (via) · · ,
  242. Using SRI to Protect From Malicious JavaScript (by/via) · ·
  243. Developing Faster JavaScript Apps: The Ultimate Guide to Web Workers (by/via) · · , , ,
  244. Tips for Typing Import Statements in JavaScript (by) ·
  245. Speeding Up the JavaScript Ecosystem—One Library at a Time (by) · · ,
  246. Convert Any Value to a Boolean in JavaScript (by) ·
  247. 5 Ways to Make Your JavaScript More Functional (by/via) · ·
  248. Document Object Model (DOM) Geometry: A Beginner’s Introduction and Guide (by/via) · · , ,
  249. Our Future CSS Strategy (by/via) · · , , ,
  250. A Guide to Keyboard Accessibility: JavaScript (by/via) · · , ,