Search
JavaScript waitFor Polling
14.8.2023
As more of the JavaScript developers write becomes asynchronous, it’s only natural to need to wait for conditions to be met. This is especially true in a world with asynchronous testing of conditions which don’t provide an explicit await. I’ve written about waitForever...
Liquid Staking Platform Lido Sees Largest Daily Stake Inflow, Receives 150,000 ETH Reportedly From Tron Founder
26.2.2023
On Saturday, the liquid staking protocol Lido tweeted about the largest daily stake inflow to date as 150,000 ethereum was staked. Reports indicate that the ethereum, worth more than $240 million, belongs to Justin Sun, founder of Tron. Liquid Staking Protocol Lido Records 150,000 Ether Inflow...
Lido Protocol Reveals Plans for Withdrawal Feature Ahead of Ethereum’s Shanghai Hard Fork
26.1.2023
While the Ethereum community prepares for the upcoming Shanghai hard fork in March, the development team for the liquid staking project Lido revealed plans to create an in-protocol withdrawal feature. Lido’s team is seeking community feedback on the proposal that would allow withdrawals after...
React Suspense: Lessons Learned While Loading Data
9.11.2021
Suspense is React’s forthcoming feature that helps coordinate asynchronous actions—like data loading—allowing you to easily prevent inconsistent state in your UI. I’ll provide a better explanation of what exactly that means, along with a quick introduction of Suspense, and then …
The...
Collective #667
24.6.2021
Demystifying styled-components * Asynchronous Design Critique * Benchmarking JavaScript Memory Usage
The post Collective #667 appeared first on Codrops
An Asynchronous and Divergent Recovery May Put Financial Stability at Risk
8.4.2021
Source: Adobe/adrian_ilie825
Tobias Adrian is the Financial Counsellor and Director of the International Monetary Fund’s Monetary and Capital Markets Department.
_____
After enduring a tumultuous 2020, the global economy is finally emerging from the worst phases of the COVID-19 pandemic, albeit...
DMEX: No-KYC Derivatives DEX With up To 100x Leverage
14.11.2020
DMEX is a decentralized anonymous margin trading exchange that doesn’t require KYC checks, simply generate a wallet inside the app and start trading. No KYC Because DMEX runs on a smart contract you do not need to register with your personal information. Simply generate a new wallet in-app...
Vital Web Performance
21.9.2020
I hate slow websites. They are annoying to use and frustrating to work on. But what does it mean to be “slow”? It used to be waiting for document load. Then waiting for page ready. But with so many asynchronous patterns in use today, how do we even define what “slow” is? The W3C has […]
The...
How to Cancel a Fetch Request
17.3.2020
JavaScript promises have always been a major win for the language — they’ve led to a revolution of asynchronous coding that has vastly improved performance on the web. One shortcoming of native promises is that there’s no true way to cancel a fetch…until now. A...
Understanding Async Await
9.1.2020
When writing code for the web, eventually you'll need to do some process that might take a few moments to complete. JavaScript can't really multitask, so we'll need a way to handle those long-running processes.
Async/Await is a way to handle this type of time-based sequencing. It’s especially great...
“Off The Main Thread”
10.9.2019
JavaScript is what they call "single-threaded." As Brian Barbour puts it:
This means it has one call stack and one memory heap.
We all feel a symptom of that regularly in the form of performance jank and non-interactivity on elements or entire sites. If we give JavaScript lots of jobs and it gets...
A Peek at New Methods Coming to Promises
16.7.2019
Promises are one of the most celebrated features introduced to JavaScript. Having a native asynchronous artifact baked right into the language has opened up a new era, changing not only how we write code but also setting up the base for other freat APIs — like fetch!
Let's step back a moment...
Get Started with Node: An Introduction to APIs, HTTP and ES6+ JavaScript
11.3.2019
Jamie Corkhill has written this wonderful post about Node and I think it’s perhaps one of the best technical articles I’ve ever read. Not only is it jam-packed with information for folks like me who aren't writing JavaScript everyday, it is also incredibly deliberate as Jamie slowly walks through...
New ES2018 Features Every JavaScript Developer Should Know
9.1.2019
The ninth edition of the ECMAScript standard, officially known as ECMAScript 2018 (or ES2018 for short), was released in June 2018. Starting with ES2016, new versions of ECMAScript specifications are released yearly rather than every several years and add fewer features than major editions used...
Build a Secure Node.js Application with JavaScript Async Await Using Hapi
18.12.2018
At the core of the JavaScript language is its asynchronous programming model. Unfortunately, dealing with callback functions has long been a source of frustration for many developers. JavaScript Pr