<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>Leo&apos;s dev blog – stories, insights, and ideas — #javascript</title><description>Leo&apos;s dev blog – stories, insights, and ideas javascript tagged content</description><link>https://www.leohuynh.dev</link><language>en-us</language><item><title>Does JavaScript Promise.all() run in parallel or sequential?</title><link>https://www.leohuynh.dev/log/does-promise-all-run-in-parallel-or-sequential</link><guid isPermaLink="true">https://www.leohuynh.dev/log/does-promise-all-run-in-parallel-or-sequential</guid><description>JavaScript is a single-threaded programming language, so it can&apos;t run multiple things at the same time, Promise.all() actually runs promises concurrently, not in parallel!. Let&apos;s dive in to see how it works.</description><pubDate>Mon, 04 Sep 2023 00:00:00 GMT</pubDate><category>javascript</category><category>promise</category><category>parallel</category><category>sequential</category><category>concurrently</category></item><item><title>String casing utilities in JavaScript</title><link>https://www.leohuynh.dev/gists/casing-utils</link><guid isPermaLink="true">https://www.leohuynh.dev/gists/casing-utils</guid><description>A various ready-to-use string casing utilities in Typescript.</description><pubDate>Tue, 21 Feb 2023 00:00:00 GMT</pubDate><category>javascript</category><category>typescript</category><category>string</category><category>casing</category><category>utilities</category></item><item><title>Remove all falsy values from an object and its nested children</title><link>https://www.leohuynh.dev/gists/remove-falsy-values-from-an-object</link><guid isPermaLink="true">https://www.leohuynh.dev/gists/remove-falsy-values-from-an-object</guid><description>Recursively removes all falsy values (null, undefined, 0, false) from an object and its nested properties.</description><pubDate>Wed, 21 Sep 2022 00:00:00 GMT</pubDate><category>javascript</category><category>utils</category><category>object</category></item><item><title>Simple Event-Emitter/PubSub pattern</title><link>https://www.leohuynh.dev/gists/event-emitter</link><guid isPermaLink="true">https://www.leohuynh.dev/gists/event-emitter</guid><description>A lightweight pub/sub mechanism to handle custom events without adding a full-blown library.</description><pubDate>Mon, 06 Sep 2021 00:00:00 GMT</pubDate><category>javascript</category><category>pattern</category><category>event-emitter</category><category>pubsub</category></item><item><title>Replace all VNese letters with the corresponding English accents</title><link>https://www.leohuynh.dev/gists/vnese-to-plain-english</link><guid isPermaLink="true">https://www.leohuynh.dev/gists/vnese-to-plain-english</guid><description>Convert Vietnamese text to plain English by replacing accented characters with their equivalents.</description><pubDate>Sat, 28 Aug 2021 00:00:00 GMT</pubDate><category>javascript</category><category>regex</category><category>replace</category></item><item><title>Drag and Drop API keynotes</title><link>https://www.leohuynh.dev/log/drag-n-drop-api-keynotes</link><guid isPermaLink="true">https://www.leohuynh.dev/log/drag-n-drop-api-keynotes</guid><description>Some keynotes to keep in mind when working with Drag and Drop APIs in Javascript</description><pubDate>Sun, 25 Oct 2020 00:00:00 GMT</pubDate><category>drag-and-drop</category><category>dnd</category><category>keynotes</category><category>api</category><category>javascript</category></item><item><title>Tricky use case of Array.prototype.map in JS</title><link>https://www.leohuynh.dev/log/tricky-use-case-of-array-map-in-js</link><guid isPermaLink="true">https://www.leohuynh.dev/log/tricky-use-case-of-array-map-in-js</guid><description>If you are familiar with functional programming, Array.prototype.map must be a function that you work with every day. We encountered a tricky use case of it at Cốc Cốc recently, it took me a while to figure out, and here&apos;s the answer...</description><pubDate>Tue, 22 Sep 2020 00:00:00 GMT</pubDate><category>javascript</category><category>array</category><category>map</category><category>functional-programming</category><category>use-cases</category></item><item><title>When to use Function Declaration vs Function Expression in JavaScript?</title><link>https://www.leohuynh.dev/log/function-declaration-vs-function-expression-in-js</link><guid isPermaLink="true">https://www.leohuynh.dev/log/function-declaration-vs-function-expression-in-js</guid><description>Learn about the differences between Function Declaration and Function Expression in JavaScript, including their definitions, hoisting behavior, and when to use each method.</description><pubDate>Thu, 17 Sep 2020 00:00:00 GMT</pubDate><category>javascript</category><category>function</category><category>function-declaration</category><category>function-expression</category><category>anonymous-function</category><category>arrow-function</category><category>es5</category><category>es6</category></item><item><title>Simplify your Node.js project with module aliases</title><link>https://www.leohuynh.dev/log/set-up-path-aliases-in-nodejs</link><guid isPermaLink="true">https://www.leohuynh.dev/log/set-up-path-aliases-in-nodejs</guid><description>Tired of dealing with complex file paths in your Node.js project? Learn how to set up module aliases using TypeScript and module-alias package to simplify your imports and improve your development experience.</description><pubDate>Thu, 27 Aug 2020 00:00:00 GMT</pubDate><category>nodejs</category><category>typescript</category><category>javascript</category><category>alias</category><category>path-aliases</category><category>tsconfig</category></item></channel></rss>