Frontend Dogma

“javascript” Archive (2)

  1. Rotating Gallery With CSS Scroll-Driven Animations · · , , ,
  2. The Market for Lemons · · ,
  3. Multi-Threaded React App Using useWorker · · , ,
  4. How to Get the Last Matching Item in an Array With Vanilla JavaScript · · ,
  5. The YAML Document from Hell—JavaScript Edition · ·
  6. Cancel Duplicate Fetch Requests in JavaScript Enhanced Forms · ·
  7. The Ultimate Guide to JavaScript Error Handling · · ,
  8. Using Local Storage in JavaScript and React · · ,
  9. You’ve Got Options for Removing Event Listeners · ·
  10. 10 GitHub Repositories You Should Know as a JavaScript Developer · · , , ,
  11. Accessible Hamburger Buttons Without JavaScript · · ,
  12. Flow Control in JavaScript: Callbacks, Promises, “async/await” · ·
  13. “scrollend”, a New JavaScript Event · ·
  14. 10 Web Development Trends in 2023 · · , , , , , ,
  15. So You Want to Make a New JS Framework · ·
  16. Deep Cloning Objects in JavaScript, the Modern Way · ·
  17. Promises, Thenables, and Lazy-Evaluation: What, Why, How · ·
  18. A Better Way to Work With Number and Date Inputs in JavaScript ·
  19. Advanced Usage Patterns for Taking Page Element Screenshots With Playwright · · ,
  20. Speeding Up the JavaScript Ecosystem—Module Resolution · · ,
  21. Four Ways to Chop Up Arrays (with Vanilla JavaScript) · ·
  22. The State of JavaScript 2022 · ·
  23. The Gotcha of Unhandled Promise Rejections · ·
  24. JavaScript, Community · ·
  25. Why Not “document.write()”? · ·
  26. 2022 JavaScript Rising Stars · · , ,
  27. Conditional API Responses for JavaScript vs. HTML Forms · · , , ,
  28. Cloning Arrays and Objects in Vanilla JavaScript · · ,
  29. JavaScript Frameworks—Heading into 2023 · ·
  30. Building an Accessible Theme Picker With HTML, CSS, and JavaScript · · , , ,
  31. Signals: The Nitty-Gritty · · ,
  32. Pointer Events · · ,
  33. Using Inline JavaScript Modules to Prevent CSS Blockage · · ,
  34. ECMAScript Proposal: Iterator Helpers · · ,
  35. Get off the Main Thread With an Inline Web Worker: An Example · · , ,
  36. The Most Popular CSS-in-JS Libraries in 2022 · · , ,
  37. How to Merge Objects in JavaScript · · ,
  38. JavaScript Polyfills for Interviews · · ,
  39. Using SRI to Protect from Malicious JavaScript · ·
  40. Tips for Typing Import Statements in JavaScript ·
  41. Speeding Up the JavaScript Ecosystem—One Library at a Time · · ,
  42. Convert Any Value to a Boolean in JavaScript ·
  43. 5 Ways to Make Your JavaScript More Functional · ·
  44. Document Object Model (DOM) Geometry: A Beginner’s Introduction and Guide · · , ,
  45. A Guide to Keyboard Accessibility: JavaScript · · , ,
  46. State of JavaScript 2022 · ·
  47. Back to Basics: What are Callbacks in JavaScript? ·
  48. Spy On “window.postMessage” Calls · · ,
  49. Generating Slugs Using One Line of Code in JavaScript ·
  50. Why Would Anyone Need JavaScript Generator Functions? · ·
  51. Client-Side Routing Without the JavaScript · · ,
  52. Saved from Callback Hell ·
  53. An Overview of JavaScript Promises · · ,
  54. 7 Shorthand Optimization Tricks Every JavaScript Developer Should Know · ·
  55. What Is a Realm in JavaScript? ·
  56. Motion Controls in the Browser · · ,
  57. Guide to the Best JavaScript Books for Beginners · · , ,
  58. Detect System Theme Preference Change Using JavaScript · ·
  59. Javascript Shallow Copy—What Is a Shallow Copy? ·
  60. Why I Never Understood CSS-in-JS · · ,
  61. Secure JavaScript URL Validation · · , ,
  62. Why We’re Breaking Up With CSS-in-JS · · ,
  63. Two JavaScripts ·
  64. Speeding Up Async Snippets · ·
  65. Quick Tip: How to Use the Ternary Operator in JavaScript · · , ,
  66. Bun? Deno? Node.js? Creating Your Own JavaScript Runtime Using V8, Libuv, and More · · , ,
  67. Delightful UI Animations With Shared Element Transitions API II · · , ,
  68. Understanding “async” and “await” ·
  69. How to Safely Pass Data to JavaScript in a Django Template · · ,
  70. Quick Tip: How to Use the Spread Operator in JavaScript · · , ,
  71. The Missing Math Methods in JavaScript · ·
  72. I Turned JS into a Compiled Language (for Fun and Wasm) · · ,
  73. Delightful UI Animations With Shared Element Transitions API · · , ,
  74. The Difference Between “undefined” and “not defined” in JavaScript ·
  75. I Changed My Mind About Writing New JavaScript Frameworks · ·
  76. Optimize Long Tasks · ·
  77. Templating in HTML · ·
  78. How to Return Multiple Values from a Function in JavaScript · · ,
  79. Let Me Understand How JavaScript Works Under the Hood ·
  80. Dear Console… · · ,
  81. Useful JavaScript Math Functions and How to Use Them · · ,
  82. Named Element IDs Can Be Referenced as JavaScript Globals · ·
  83. How to Get All Sibling Elements of a Link or Button With Vanilla JavaScript · · , ,
  84. The New Wave of JavaScript Web Frameworks · ·
  85. JavaScript · ·
  86. Writing Composable SQL Using JavaScript · · ,
  87. Rest vs. Spread Syntax in JavaScript · ·
  88. How to Generate Random Numbers in JavaScript With “Math.random()” · · , ,
  89. How to Get the Current Timestamp in JavaScript · ·
  90. Building a Retro Draggable Web Component With Lit · ·
  91. 7 Must Know JavaScript Tips and Tricks · ·
  92. Total Blocking Time: A Short and Sweet Guide for Happier Users · ·
  93. JavaScript APIs You Don’t Know About · ·
  94. A Guide to Rounding Numbers in JavaScript · ·
  95. Conditionally Spreading Objects in JavaScript · ·
  96. The Seventh Way to Call a JavaScript Function Without Parentheses · ·
  97. Mastering DOM Manipulation With Vanilla JavaScript · ·
  98. Make It Short—Make It Better · ·
  99. What’s New With Forms in 2022? · · ,
  100. A Quick Primer on Testing JavaScript · ·
  101. Detect When Users Switch Tabs Using JavaScript ·
  102. Disabled JavaScript Turns Off Native Lazy Loading · · , ,
  103. Dear Oracle, Please Release the JavaScript Trademark · ·
  104. Useful JavaScript Data Grid Libraries · · , ,
  105. Default Exports in JavaScript Modules Are Terrible ·
  106. JavaScript Bugs Aplenty in Node.js Ecosystem—Found Automatically · · , , , ,
  107. Monitor Events and Function Calls Via Console · · ,
  108. Implementing Promisable “setTimeout” ·
  109. What Is a REST API? · ·
  110. How to Use localStorage in JavaScript: An Easy Guide · · , ,
  111. An Introduction to Context Propagation in JavaScript · ·
  112. Dependency Injection in JS/TS · ·
  113. The Console API · · ,
  114. Custom Event Naming Conventions · · ,
  115. TypeScript vs. JavaScript: Which One You Should Use, and Why · · ,
  116. Code Golfing Tips and Tricks: How to Minify Your JavaScript Code · · , ,
  117. The JavaScript Paradox ·
  118. Light/Dark Mode · · , ,
  119. Checking If a JavaScript Native Function Is Monkey Patched · ·
  120. Adding Observability to Your Jest Tests · · ,
  121. Everything You Need to Know About JavaScript Import Maps ·
  122. The History of JavaScript · ·
  123. Type Annotations in JavaScript · ·
  124. RedwoodJS vs. BlitzJS: The Future of Fullstack JavaScript Meta-Frameworks · · ,
  125. Front-End Internationalisation Tips · · , ,
  126. The 10 Most Common JavaScript Issues Developers Face · ·
  127. 15 Common Beginner JavaScript Mistakes · ·
  128. JavaScript SDK “Package Size Is Massive”—So We Reduced It by 29% · · ,
  129. Useful Tips and Tricks in JavaScript · ·
  130. JSON Creator Douglas Crockford Interview · ·
  131. Hacking Javascript Objects · ·
  132. The “Array.prototype.at()” Method in Vanilla JavaScript ·
  133. Statements vs. Expressions · ·
  134. Integer Math in JavaScript · ·
  135. JavaScript Obfuscation Techniques by Example · · , ,
  136. Frontend Web Performance: The Essentials · ·
  137. Using JavaScript to Fill localStorage to Its Maximum Capacity · ·
  138. Stop the Screen Going to Sleep With JavaScript ·
  139. In Defense of Blocks for Local Scopes · ·
  140. In Defense of Blocks for Local Scopes II · ·
  141. Svelte Origins: A JavaScript Documentary · · ,
  142. Future Features of JS · ·
  143. How to Remove 99% of JavaScript from Main Thread · · , ,
  144. You Don’t Need a JavaScript Library for Your Components · · ,
  145. Understanding the JavaScript Window Object · ·
  146. AbortController Is Your Friend ·
  147. Modern JavaScript, 10 Things You Should Be Using, Starting Today ·
  148. Patterns for Building JavaScript Websites in 2022 · · ,
  149. JavaScript Hydration Is a Workaround, Not a Solution · ·
  150. Optimize the Use of “if–else” ·
  151. Mathematical Notation for JavaScript Developers Explained · ·
  152. Shallow Copy and Deep Copy ·
  153. Monorepos in JavaScript and TypeScript · · ,
  154. JavaScript of Halftone Printing · ·
  155. Processing Arrays Non-Destructively: “for-of” vs. “.reduce()” vs. “.flatMap()” · · ,
  156. JavaScript Closures, Explained ·
  157. Understanding Weak Reference in JavaScript ·
  158. Snyk Finds 200+ Malicious npm Packages, Including Cobalt Strike Dependency Confusion Attacks · · , ,
  159. RFC 9239: Updates to ECMAScript Media Types · ·
  160. Building a Button Component · · , , ,
  161. Reduce Array of Objects to an Object in JavaScript · · ,
  162. Does Javascript Make My Site Less Accessible? · · ,
  163. How to Use Google CrUX to Analyze and Compare the Performance of JS Frameworks · · , , ,
  164. How to Learn JavaScript Fast: Six Simple Mind Tricks · · , ,
  165. You Don’t Need “void 0” ·
  166. The Road to Universal JavaScript ·
  167. Master Higher-Order Functions in JavaScript · ·
  168. Fetch API Is [the] New Old Version of AJAX · · ,
  169. JavaScript Containers · ·
  170. 8 JavaScript Quiz [Questions] That May Confuse You · ·
  171. CTA Modal: How to Build a Web Component · · , ,
  172. Common Frontend Interview Questions I’ve Been Asked · · ,
  173. Web Scraping via JavaScript Runtime Heap Snapshots · · ,
  174. Learn to Code With JavaScript: The Most Popular Programming Language on Earth · ·
  175. What Is Memoization? How and When to Memoize in JavaScript and React · · ,
  176. Build a Lightweight Web Component With Lit.js · ·
  177. Four Eras of JavaScript Frameworks · · ,
  178. Building a Dialog Component · · , , ,
  179. The Ultimate Guide to Optimizing JavaScript for Quick Page Loads · · , ,
  180. JavaScript Function Composition: What’s the Big Deal? · ·
  181. 33 JavaScript Concepts Every Developer Should Know · ·
  182. JavaScript and Node.js Testing Best Practices · · , ,
  183. Locale Aware Sorting in JavaScript · · , ,
  184. 14 Linting Rules to Help You Write Asynchronous Code in JavaScript · ·
  185. When to Use a Function Expression vs. Function Declaration · · ,
  186. Conquering JavaScript Hydration · ·
  187. Performance Tests on Common JavaScript Array Methods · · , ,
  188. How to Make a Drag-and-Drop File Uploader With Vue.js 3 · · , ,
  189. Building a Loading Bar Component · · , ,
  190. A Quick Guide to Closures · ·
  191. Accessibility, Assistive Technology, and JavaScript · · ,
  192. Implementing JavaScript Delay for Cookie Consent Banner · · , ,
  193. How to Automatically Size a Textarea Based on Its [Text] Using Vanilla JavaScript · · ,
  194. Horizontal Scrolling Nav · ·
  195. Arrow Functions in JavaScript: How to Use Fat and Concise Syntax · · ,
  196. A Look at the Dialog Element’s Super Powers · · ,
  197. JavaScript Naming Conflicts: How Existing Code Can Force Proposed Features to Be Renamed · · ,
  198. Why I Avoid “async”/“await” ·
  199. Creating Native Web Components · · ,
  200. It’s Always Been You, Canvas2D · · ,
  201. How to Use Higher-Order Functions in JavaScript · · ,
  202. How Do Primitive Values Get Their Properties? ·
  203. How to Build a File Upload Service With Vanilla JavaScript · · ,
  204. 5 Things You Don’t Need JavaScript For ·
  205. Importing ES6 Modules over HTTP/HTTPS in Node.js · · , ,
  206. HTML Comments Work in JavaScript Too · · ,
  207. What Is Responsible JavaScript? · ·
  208. You Can “throw()” Anything in JavaScript—and Other “async”/“await” Considerations ·
  209. Comparing Node JavaScript to JavaScript in the Browser · · , ,
  210. How to Create a Search Page for a Static Website With Vanilla JS · · , , ,
  211. Track Down the JavaScript Code Responsible for Polluting the Global Scope · ·
  212. The Harsh Reality for JavaScript Developers: If You Don’t Study the Fundamentals You Will Be Just Another “Coder” · · ,
  213. The State of JavaScript 2021 · ·
  214. 7 Killer One-Liners in JavaScript ·
  215. Moving from JavaScript to TypeScript · ·
  216. Move Over JavaScript: Back-End Languages Are Coming to the Front-End ·
  217. New in JavaScript: “reportError”—a Method to Report to Global Event Handlers · ·
  218. Debugging JavaScript · ·
  219. Creating Generative SVG Grids · ·
  220. What Web Frameworks Solve: The Vanilla Alternative · · ,
  221. Why Efficient Hydration in JavaScript Frameworks Is So Challenging · · ,
  222. The Impact of Motion Animation on Cognitive Disability · · ,
  223. Improving JavaScript Bundle Performance With Code-Splitting · · , , ,
  224. Preventing Smooth Scrolling With JavaScript · ·
  225. A More Easy Way to Write “if … or” Checks With Vanilla JavaScript ·
  226. A Pipe Operator for JavaScript: Introduction and Use Cases · · ,
  227. The Double-Assignment Pattern in jQuery’s Source Code · ·
  228. Context-Aware Web Components Are Easier Than You Think · · ,
  229. The Many Ways to Modify Leading and Trailing Characters from Strings With JavaScript ·
  230. Frontend Challenges: Front-End Engineer Assignment · · , ,
  231. “structuredClone()”: Deeply Copying Objects in JavaScript · ·
  232. Two Ways to Clear an Array With Vanilla JavaScript · ·
  233. 8 Techniques to Write Cleaner JavaScript Code ·
  234. Add a Service Worker to Your Site · ·
  235. How to Add and Remove a CSS Class from Multiple Elements With Vanilla JavaScript · · ,
  236. Be Prepared for Failure and Handle It Gracefully · ·
  237. Deep-Copying in JavaScript Using “structuredClone” ·
  238. Performance Implications of JavaScript Errors · · ,
  239. Embrace the Platform · · , ,
  240. Intersection Observer · ·
  241. JSON Modules in JavaScript · · ,
  242. Best Practices for Node.js Development · · ,
  243. JavaScript · ·
  244. How to Trim Strings in JavaScript · ·
  245. How JavaScript Engines Achieve Great Performance · · ,
  246. How to Make Blob Menu Using HTML, CSS and JavaScript · · , ,
  247. Why IndexedDB Is Slow and What to Use Instead · · , ,
  248. How to Debounce and Throttle Callbacks in Vue · · , , ,
  249. Chrome DevTools: Copy CSS Styles as JavaScript-Compatible Properties · · , , , ,
  250. Using Web Workers to Boost Third-Party Script Performance · · ,