Frontend Dogma

“javascript” Archive (3)

  1. Let Me Understand How JavaScript Works Under the Hood (by) ·
  2. Useful JavaScript Math Functions and How to Use Them (by/via) · · ,
  3. Named Element IDs Can Be Referenced as JavaScript Globals (by/via) · ·
  4. Dear Console… (by) · · ,
  5. The New Wave of JavaScript Web Frameworks (via) · ·
  6. JavaScript (by+/via) · · ,
  7. How to Get All Sibling Elements of a Link or Button With Vanilla JavaScript (by) · · , ,
  8. Writing Composable SQL Using JavaScript (by/via) · · ,
  9. Rest vs. Spread Syntax in JavaScript (by) · ·
  10. How to Generate Random Numbers in JavaScript With “Math.random()” (by/via) · · , ,
  11. How to Get the Current Timestamp in JavaScript (by) · ·
  12. Building a Retro Draggable Web Component With Lit (by/via) · ·
  13. Total Blocking Time: A Short and Sweet Guide for Happier Users (by/via) · ·
  14. 7 Must Know JavaScript Tips and Tricks (by) · ·
  15. JavaScript APIs You Don’t Know About (by/via) · ·
  16. A Guide to Rounding Numbers in JavaScript (by/via) · ·
  17. Conditionally Spreading Objects in JavaScript (by) · ·
  18. The Seventh Way to Call a JavaScript Function Without Parentheses (by/via) · ·
  19. Mastering DOM Manipulation With Vanilla JavaScript (by) · ·
  20. Make It Short—Make It Better (by) · ·
  21. What’s New With Forms in 2022? (by/via) · · ,
  22. A Quick Primer on Testing JavaScript (by) · · ,
  23. Detect When Users Switch Tabs Using JavaScript (by) ·
  24. The Art of Writing Secrets: Encryption for JavaScript Developers (by/via) · ·
  25. Disabled JavaScript Turns Off Native Lazy Loading (by) · · , ,
  26. Dear Oracle, Please Release the JavaScript Trademark (by) · ·
  27. Useful JavaScript Data Grid Libraries (by/via) · · , ,
  28. Default Exports in JavaScript Modules Are Terrible (by) ·
  29. JavaScript Bugs Aplenty in Node.js Ecosystem—Found Automatically (by/via) · · , , , , ,
  30. Monitor Events and Function Calls via Console (by) · · ,
  31. Implementing Promisable “setTimeout” (by) ·
  32. What Is a REST API? (by/via) · ·
  33. How to Use localStorage in JavaScript: An Easy Guide (by/via) · · , ,
  34. An Introduction to Context Propagation in JavaScript (by/via) · ·
  35. Dependency Injection in JS/TS (via) · ·
  36. The Console API (by) · · ,
  37. Custom Event Naming Conventions (by) · · ,
  38. TypeScript vs. JavaScript: Which One You Should Use, and Why (by/via) · · ,
  39. Code Golfing Tips and Tricks: How to Minify Your JavaScript Code (by/via) · · , ,
  40. The JavaScript Paradox (by/via) ·
  41. Light/Dark Mode (by) · · , ,
  42. Checking if a JavaScript Native Function Is Monkey Patched (by) · ·
  43. Adding Observability to Your Jest Tests (via) · · , ,
  44. Everything You Need to Know About JavaScript Import Maps (by/via) ·
  45. The History of JavaScript (by) · ·
  46. Type Annotations in JavaScript (by/via) · ·
  47. RedwoodJS vs. BlitzJS: The Future of Fullstack JavaScript Meta-Frameworks (by/via) · · ,
  48. Front-End Internationalisation Tips (by/via) · · , ,
  49. The 10 Most Common JavaScript Issues Developers Face (via) · ·
  50. JavaScript SDK “Package Size Is Massive”—So We Reduced It by 29% (via) · · ,
  51. 15 Common Beginner JavaScript Mistakes (by) · ·
  52. Useful Tips and Tricks in JavaScript (by) · ·
  53. JSON Creator Douglas Crockford Interview (by/via) · ·
  54. Hacking JavaScript Objects (by) · ·
  55. The “Array.prototype.at()” Method in Vanilla JavaScript (by) ·
  56. Statements vs. Expressions (by) · ·
  57. Integer Math in JavaScript (by) · ·
  58. JavaScript Obfuscation Techniques by Example · · , ,
  59. Frontend Web Performance: The Essentials · ·
  60. Using JavaScript to Fill localStorage to Its Maximum Capacity (by) · ·
  61. Stop the Screen Going to Sleep With JavaScript (by) ·
  62. In Defense of Blocks for Local Scopes (by) · ·
  63. In Defense of Blocks for Local Scopes II (by) · ·
  64. Svelte Origins: A JavaScript Documentary (via) · · ,
  65. Future Features of JS (by/via) · ·
  66. You Don’t Need a JavaScript Library for Your Components · · ,
  67. How to Remove 99% of JavaScript From Main Thread (by/via) · · , ,
  68. Understanding the JavaScript Window Object (by/via) · ·
  69. Modern JavaScript, 10 Things You Should Be Using, Starting Today (by/via) ·
  70. AbortController Is Your Friend (by) ·
  71. Patterns for Building JavaScript Websites in 2022 (by/via) · · ,
  72. JavaScript Hydration Is a Workaround, Not a Solution (by/via) · ·
  73. Optimize the Use of “if–else” ·
  74. Mathematical Notation for JavaScript Developers Explained (by/via) · ·
  75. Shallow Copy and Deep Copy (by) ·
  76. Monorepos in JavaScript and TypeScript (by) · · ,
  77. JavaScript of Halftone Printing · ·
  78. Processing Arrays Non-Destructively: “for-of” vs. “.reduce()” vs. “.flatMap()” (by) · · ,
  79. Understanding Weak Reference in JavaScript (by/via) ·
  80. JavaScript Closures, Explained (by) · ·
  81. Snyk Finds 200+ Malicious npm Packages, Including Cobalt Strike Dependency Confusion Attacks (by/via) · · , ,
  82. RFC 9239: Updates to ECMAScript Media Types (by) · ·
  83. Building a Button Component (by/via) · · , , ,
  84. Reduce Array of Objects to an Object in JavaScript (by) · · ,
  85. Does JavaScript Make My Site Less Accessible? (via) · · ,
  86. How to Use Google CrUX to Analyze and Compare the Performance of JS Frameworks (by/via) · · , , , ,
  87. How to Learn JavaScript Fast: Six Simple Mind Tricks (by/via) · · , ,
  88. You Don’t Need “void 0” (by/via) ·
  89. The Road to Universal JavaScript (by) ·
  90. Master Higher-Order Functions in JavaScript (by/via) · ·
  91. Fetch API Is [the] New Old Version of AJAX (by) · · , ,
  92. JavaScript Containers (by) · ·
  93. 8 JavaScript Quiz [Questions] That May Confuse You (via) · ·
  94. CTA Modal: How to Build a Web Component (by/via) · · , ,
  95. Common Frontend Interview Questions I’ve Been Asked · · ,
  96. Web Scraping via JavaScript Runtime Heap Snapshots (by) · · ,
  97. Learn to Code With JavaScript: The Most Popular Programming Language on Earth (by/via) · ·
  98. What Is Memoization? How and When to Memoize in JavaScript and React (by/via) · · ,
  99. Four Eras of JavaScript Frameworks (by) · · ,
  100. Build a Lightweight Web Component With Lit.js (by/via) · ·
  101. Faster Initialization of Instances With New Class Features (by/via) · · , , ,
  102. The Ultimate Guide to Optimizing JavaScript for Quick Page Loads (by/via) · · , ,
  103. Building a Dialog Component (by/via) · · , , ,
  104. JavaScript Function Composition: What’s the Big Deal? (by) · ·
  105. 33 JavaScript Concepts Every Developer Should Know (by) · ·
  106. JavaScript and Node.js Testing Best Practices (by) · · , ,
  107. Locale Aware Sorting in JavaScript (by) · · , ,
  108. 14 Linting Rules to Help You Write Asynchronous Code in JavaScript (by) · ·
  109. When to Use a Function Expression vs. Function Declaration (by/via) · · ,
  110. Conquering JavaScript Hydration (by/via) · ·
  111. Performance Tests on Common JavaScript Array Methods (by/via) · · , ,
  112. How to Make a Drag-and-Drop File Uploader With Vue.js 3 (by/via) · · , ,
  113. Building a Loading Bar Component (by/via) · · , ,
  114. Accessibility, Assistive Technology, and JavaScript (by) · · ,
  115. A Quick Guide to Closures (by) · · ,
  116. Implementing JavaScript Delay for Cookie Consent Banner (by) · · , ,
  117. How to Automatically Size a Textarea Based on Its [Text] Using Vanilla JavaScript (by) · · ,
  118. Horizontal Scrolling Nav (by) · ·
  119. Arrow Functions in JavaScript: How to Use Fat and Concise Syntax (by/via) · · ,
  120. A Look at the Dialog Element’s Super Powers (by) · · ,
  121. JavaScript Naming Conflicts: How Existing Code Can Force Proposed Features to Be Renamed (by) · · ,
  122. Why I Avoid “async”/“await” ·
  123. Creating Native Web Components (via) · · ,
  124. It’s Always Been You, Canvas2D (by/via) · · , ,
  125. How to Use Higher-Order Functions in JavaScript (by/via) · · ,
  126. How Do Primitive Values Get Their Properties? (by) ·
  127. How to Build a File Upload Service With Vanilla JavaScript (by/via) · · ,
  128. Essential Cryptography for JavaScript Developers (by/via) · · ,
  129. 5 Things You Don’t Need JavaScript For (by/via) ·
  130. Importing ES6 Modules Over HTTP/HTTPS in Node.js (by/via) · · , ,
  131. HTML Comments Work in JavaScript Too (by) · · ,
  132. What Is Responsible JavaScript? (by+/via) · ·
  133. You Can “throw()” Anything in JavaScript—and Other “async”/“await” Considerations (by) ·
  134. JavaScript Obfuscation: The Definitive Guide (2022) (via) · · ,
  135. Comparing Node JavaScript to JavaScript in the Browser (by/via) · · , ,
  136. How to Create a Search Page for a Static Website With Vanilla JS (by) · · , , ,
  137. Track Down the JavaScript Code Responsible for Polluting the Global Scope (by) · ·
  138. The State of JavaScript 2021 (by/via) · ·
  139. The Harsh Reality for JavaScript Developers: If You Don’t Study the Fundamentals You Will Be Just Another “Coder” (by) · · ,
  140. 7 Killer One-Liners in JavaScript (by) ·
  141. Moving From JavaScript to TypeScript (by) · ·
  142. New in JavaScript: “reportError”—a Method to Report to Global Event Handlers (by) · ·
  143. Move Over JavaScript: Back-End Languages Are Coming to the Front-End (by/via) ·
  144. Debugging JavaScript (by) · ·
  145. Creating Generative SVG Grids (by/via) · ·
  146. What Web Frameworks Solve: The Vanilla Alternative (by/via) · · ,
  147. Why Efficient Hydration in JavaScript Frameworks Is So Challenging (by/via) · · ,
  148. The Impact of Motion Animation on Cognitive Disability (via) · · ,
  149. Improving JavaScript Bundle Performance With Code-Splitting (by/via) · · , , ,
  150. Preventing Smooth Scrolling With JavaScript (by) · ·
  151. A More Easy Way to Write “if … or” Checks With Vanilla JavaScript (by) ·
  152. A Pipe Operator for JavaScript: Introduction and Use Cases (by) · · ,
  153. The Double-Assignment Pattern in jQuery’s Source Code (by) · ·
  154. The Many Ways to Modify Leading and Trailing Characters From Strings With JavaScript (by) ·
  155. Context-Aware Web Components Are Easier Than You Think (by/via) · · ,
  156. Frontend Challenges: Front-End Engineer Assignment (by) · · , ,
  157. “structuredClone()”: Deeply Copying Objects in JavaScript (by) · ·
  158. Two Ways to Clear an Array With Vanilla JavaScript (by) · ·
  159. 8 Techniques to Write Cleaner JavaScript Code (by) ·
  160. Add a Service Worker to Your Site (by/via) · ·
  161. How to Add and Remove a CSS Class From Multiple Elements With Vanilla JavaScript (by) · · ,
  162. Be Prepared for Failure and Handle It Gracefully (by/via) · ·
  163. Deep-Copying in JavaScript Using “structuredClone” (by/via) ·
  164. Performance Implications of JavaScript Errors (by/via) · · ,
  165. Intersection Observer (by) · ·
  166. Embrace the Platform (by/via) · · , ,
  167. JSON Modules in JavaScript (by) · · ,
  168. Best Practices for Node.js Development (by) · · ,
  169. JavaScript (by/via) · · ,
  170. How to Trim Strings in JavaScript (by) · ·
  171. How JavaScript Engines Achieve Great Performance · · ,
  172. How to Make Blob Menu Using HTML, CSS and JavaScript (by) · · , ,
  173. Why IndexedDB Is Slow and What to Use Instead (via) · · , ,
  174. Using Web Workers to Boost Third-Party Script Performance (by/via) · · ,
  175. How to Debounce and Throttle Callbacks in Vue (by) · · , , , ,
  176. Chrome DevTools: Copy CSS Styles as JavaScript-Compatible Properties (by) · · , , , ,
  177. Localizing Your Next.js App (by/via) · · ,
  178. Designing Error Messages and a Logging Strategy in Node.js (by/via) · · , , ,
  179. Accessible Toggles (by/via) · · , ,
  180. A Comprehensive Guide to Error Handling in Node.js (by/via) · · , ,
  181. HTMLoween—HTML, JS, and CSS to Make Your Blood Boil (by) · · ,
  182. Chrome DevTools: Visualise Your JavaScript Bundles (by) · · , , , , , ,
  183. In-Page Filtered Search With Vanilla JavaScript (by/via) · · ,
  184. Why Outdated jQuery Is Still the Dominant JavaScript Library (by/via) · · ,
  185. Building an Effective Image Component (by/via) · · ,
  186. Finding Common Patterns Across Frameworks (by) · ·
  187. Decoupling HTML, CSS, and JavaScript in Design Systems (by) · · , ,
  188. Back to Basics: Understanding the “for…in” Loop in JavaScript (by/via) · ·
  189. Dealing With Timezones in Web Development (by) ·
  190. Stop Writing JavaScript Like This ·
  191. Building a Multi-Select Component (by/via) · · , ,
  192. Introduction to Styled Components (by) · · , ,
  193. Writing Clean JavaScript Tests With the BASIC Principles (by) · · ,
  194. Animation Techniques for Adding and Removing Items From a Stack (via) · · ,
  195. Using JavaScript to Detect High Contrast and Dark Modes (by) · · , , ,
  196. Sorting JavaScript Arrays by Nested Properties (by) · · ,
  197. Web Streams Everywhere (and Fetch for Node.js) (by/via) · · , ,
  198. How I Built a Modern Website in 2021 (by) · · ,
  199. A JavaScript Developer’s Guide to Browser Cookies (by) · · ,
  200. Optimising a JavaScript Library With WebAssembly, a Failed Attempt (by) · · ,
  201. 20 Killer JavaScript One-Liners (by) ·
  202. Small Bundles, Fast Pages: What to Do With Too Much JavaScript (via) · · ,
  203. 29 Projects to Help You Practice HTML CSS JavaScript 2021 (by) · · ,
  204. The Ultimate Guide to Web Console (by) · · , ,
  205. Vanilla JS Is a Web Performance Decision (by) · ·
  206. Defining Basic JavaScript Terms: “map”, “filter”, and “reduce” (by) ·
  207. Threats of Using Regular Expressions in JavaScript (by/via) · ·
  208. Web Scraping With JavaScript and Node.js (via) · · ,
  209. Building a Split-Button Component (by/via) · · , ,
  210. Writing High-Performance JavaScript (by) · ·
  211. 7 Practices to Create Good JavaScript Variables (by) ·
  212. Essential Concepts in JS (by) · ·
  213. How to Use “Promise.any()” (by) · · ,
  214. jsc: My New Best Friend (by) · ·
  215. 4 Important Differences Between Regular and Arrow Functions (by) · · ,
  216. Truthy and Falsy: When All Is Not Equal in JavaScript (by/via) ·
  217. Using CSS Module Scripts to Import Stylesheets (by/via) · · ,
  218. “return await promise” vs. “return promise” in JavaScript (by) · · ,
  219. JavaScript Development: Making a Web Worker Optional (by/via) · ·
  220. Uploading Multiple Files With Fetch (by) · · ,
  221. Refresher on JavaScript Callbacks and Promises (by/via) · · ,
  222. How to Use “Promise.allSettled()” (by) · · ,
  223. How to Build Resilient JavaScript UIs (by/via) · · , ,
  224. The (Most Comprehensive) JavaScript Design Principles Guide (by) · · , ,
  225. The Ultimate Cheat Sheet List for Web Developers (by) · · , ,
  226. An Introduction to Frameworkless Web Components (by/via) · · , ,
  227. 6 Useful Frontend Techniques That You May Not Know About (by) · · , ,
  228. What Is Tree Shaking? (by) · · ,
  229. The Ultimate Guide to Browser-Side Storage (by/via) · · , ,
  230. Detecting Media Query Support in CSS and JavaScript (by) · · , ,
  231. How to Convert Arrays to Human-Readable Lists in JavaScript (by) · · , ,
  232. TypeScript and Native ESM on Node.js (by) · · , ,
  233. How to Use “Promise.all()” (by) · · ,
  234. How Does Node.js Load Its Built-In/Native Modules? (by) · · ,
  235. Basics of JavaScript Test Driven Development (TDD) With Jest (by) · · , ,
  236. “export default thing” Is Different to “export { thing as default }” (by) ·
  237. When a Click Is Not Just a Click (via) ·
  238. The State of Web Workers in 2021 (by/via) · ·
  239. Encoding Data for POST Requests (by) · · ,
  240. Resource Inlining in JavaScript Frameworks (by/via) · · , ,
  241. JavaScript Frameworks and the Lost Art of HTML (by/via) · · ,
  242. Debugging JavaScript and Front-End (by/via) · · ,
  243. What’s New in ES2021 (by/via) · · ,
  244. Sorting Colors in JavaScript (by) · · ,
  245. Demystifying Styled Components (by) · · ,
  246. How to Use Dynamic Imports in JavaScript (by) · ·
  247. When CSS Isn’t Enough: JavaScript Requirements for Accessible Components (by/via) · · ,
  248. 10 Utility Functions for Working With Objects in JavaScript (by/via) · · ,
  249. JavaScript: Debouncing and Throttling (by) · · ,
  250. A Thorough Analysis of CSS-in-JS (by/via) · · ,