How to Use Fetch with async/awaitUpdated January 25, 2023fetchasync awaitjavascriptStart discussionHow to use fetch() with async/await syntax in JavaScript: fetch JSON data, handle errors, make parallel requests, cancel requests. Continue reading ➞
Getting Started with Arrow Functions in JavaScriptUpdated November 4, 2020javascriptarrow functionfunctionStart discussionI'm going to explain, in 5 easy steps, how to use arrow functions in JavaScript. Continue reading ➞
An Interesting Explanation of async/await in JavaScriptPosted September 1, 2020javascriptasync awaitStart discussionLet's learn async/await syntax in JavaScript by following a few interesting examples. Continue reading ➞
Front-end Architecture: Stable and Volatile DependenciesPosted August 25, 2020software designdependencyStart discussionDesigning correctly the dependencies, both stable and volatile ones, is an important skill to architect Front-end applications. Continue reading ➞
Is it Safe to Compare JavaScript Strings?Posted August 18, 2020javascriptequalitystringStart discussion2 similar-looking strings in JavaScript might not be equal... so how would you safely compare strings? Continue reading ➞
How to Access Object's Keys, Values, and Entries in JavaScriptPosted August 11, 2020javascriptobjectStart discussionLet's see what utility functions provide JavaScript to extract the keys, values and entries from an object. Continue reading ➞
What Actually is a String in JavaScript?Posted August 4, 2020javascriptstringStart discussionStrictly saying, a string in JavaScript is a sequence of UTF-16 code units. Continue reading ➞
3 Ways to Shallow Clone Objects in JavaScript (w/ bonuses)Posted July 28, 2020javascriptobjectStart discussionIn this post, you’ll find 3 ways to perform shallow clone (aka copy) of objects in JavaScript. Continue reading ➞
Checking if an Array Contains a Value in JavaScriptPosted July 21, 2020javascriptarrayStart discussionHow to determine if a JavaScript array contains a particular value, being a primitive or object. Continue reading ➞
JavaScript Event Delegation: A Beginner's GuideUpdated March 18, 2023javascriptevent delegationStart discussionThe event delegation is an useful pattern to listen for events on multiple elements using just one event listener. Continue reading ➞