Search
Promises and Static Values
23.8.2019
Async can throw a real wrench into the cogs of our programming workflows, all despite the fact that async is the modern JavaScript pattern. While async/await helps, there’s sometimes confusion about the way to have a single function that returns a value whether it exists or needs a Promise...
Ethereum vs Bitcoin: BTC and ETH Correcting Down, Investors Await a Bounce
13.8.2019
Bitcoin is dropping after a pullback from $11551 BTC saw a strong and steady surge yesterday causing it to jump above $11500 from $11152 Ethereum followed the suit when it took a rise above $215, ETH remains above $212 even after a pullback The overall crypto market has seen an uplift in its market...
JavaScript Detect Async Function
29.4.2019
JavaScript async/await has changed the landscape of how we code. We’re no longer stuck in callback or then hell, and our code can feel more “top down” again. Async functions require the following syntax: async function myFunction() { } To use await with a function, the function...
KV Storage
1.4.2019
localStorage is...
Good! It's an incredibly easy API to use.
localStorage.setItem('name', 'Chris'); let name = localStorage.getItem('name');
Bad! Philip Walton explains why:
localStorage is a synchronous API that blocks the main thread, and any time you access it you potentially prevent your...
Social Cards as a Service
19.2.2019
I love the idea of programmatically generated images. That power is close at hand these days for us front-end developers, thanks to the concept of headless browsers. Take Puppeteer, the library for controlling headless Chrome. Generating images from URLs is their default use case:
const puppeteer...
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
Ondřej Žára – async/await v praxi – jsDevMeetup
6.3.2018
Přijďte 13. 3. na přednášku vývojáře ze Seznamu Ondřeje Žáry. Na přednášce s názvem Async/await v praxi se dozvíte o výhodách a úskalích používání funkcí async a await v JavaScriptu. Další přednáška z…