js
Ideas, thoughts and links about Javascript developement and the London community.
Links
What Google AMP means for the JavaScript community · molily
By neglecting web performance, the JavaScript community unintentionally paved the way for AMP.
30-05-2017Why I won’t be using Fetch API in my apps – Shahar Talmi – Medium
When Fetch API became standard I was thrilled. I will no longer need to use http utility libraries in order to make http calls in my apps. XMLHttpRequest was so low level and awkward (up to its inconsistent camel casing of acronyms!). You didn’t really have a choice but to wrap it with something more comfortable or choose one of tons of open source alternatives like jQuery’s $.ajax(), Angular’s $http, superagent and my personal favorite, axios. But are we truly free of http toolkits?
30-05-2017Using the Chrome devtools new code coverage feature
Code coverage has finally made it out of experiments and into Chrome Canary, meaning that it will soon reach general availability. This is an exciting feature that is useful both when working with JavaScript and CSS, so I thought I’d do a quick demo and explore how it can be helpful.
25-07-2017The Cost Of JavaScript – Dev Channel – Medium
As we build sites more heavily reliant on JavaScript, we sometimes pay for what we send down in ways that we can’t always easily see. In this post, I’ll cover why a little discipline can help if you’d like your site to load & be interactive quickly on mobile devices.
27-11-2017Stimulus: A modest JavaScript framework for the HTML you already have.
A modest JavaScript framework for the HTML you already have.
31-01-2018await vs return vs return await - JakeArchibald.com
When writing async functions, there are differences between await vs return vs return await, and picking the right one is important.
20-02-2018date-fns - modern JavaScript date utility library
Return the formatted date string in the given format.
11-12-2018
06-02-2019SpeedCurve | JavaScript Dominates Browser CPU
CityJS Conference 2019, London UK
CITY OF LONDON JAVASCRIPT CONFERENCE CITYJS CONFERENCE 03 MAY 2019
13-02-2019CSS Houdini: JS-in-CSS - @iamvdo
Generic worklet to be authored right from CSS
22-02-2019
19-03-2019untitled - Paint
We are actively destroying the web | Go Make Things
One of the central themes of my talk on The Lean Web is that we as developers repeatedly take all of the great things the web and browsers give us out-of-the-box, break them, and then re-implement them poorly with JavaScript.
19-03-2019Does it mutate?
does it mutate?
29-04-2019GitHub - rintoj/statex: StateX is a state management library for modern web applications with unidirectional data flow and immutable uni-state (just like redux)
StateX is a state management library for modern web applications with unidirectional data flow and immutable uni-state (just like redux)
29-07-2019GitHub - tc39/proposal-optional-chaining
When looking for a property value that's deep in a tree-like structure, one often has to check whether intermediate nodes exist:var street = user.address && user.address.street;
11-10-2019Monads on the Cheap I: The Maybe Monad
Don’t worry, this isn’t YAMT (Yet Another Monad Tutorial ). This is a practical post about a code smell that afflicts everyday code, and about an idiom that eliminates that smell. It just so happens that this idiom corresponds to one of the uses for monads in Haskell, but that’s just theory behind the practice, and I’ve saved the theory for the end.
09-02-2020HTML DOM - Common tasks of managing HTML DOM with vanilla JavaScript
how to manage HTML DOMwith vanilla JavaScript only?for modern browsers and IE 11+
29-03-2020Handling 3rd-party JavaScript with Rollup | Mixmax Engineering Blog
How and when to leave JS out of the bundle
17-04-2020JavaScript | 2019 | The Web Almanac by HTTP Archive
JavaScript is a scripting language that makes it possible to build interactive and complex experiences on the web. This includes responding to user interactions, updating dynamic content on a page, and so forth. Anything involving how a web page should behave when an event occurs is what JavaScript is used for.
19-04-2020How to Cancel a Fetch Request
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 new AbortController has been added to the JavaScript specification that will allow developers to use a signal to abort one or multiple fetch calls.
01-05-2020jsPerf: JavaScript performance playground
jsPerf aims to provide an easy way to create and share test cases, comparing the performance of different JavaScript snippets by running benchmarks. For more information, see the FAQ.
07-05-2020tensorflow/tfjs: A WebGL accelerated JavaScript library for training and deploying ML models.
TensorFlow.js is an open-source hardware-accelerated JavaScript library for training and deploying machine learning models.
06-12-2020
27-12-2020GitHub - microsoft/Web-Dev-For-Beginners: 24 Lessons, 12 Weeks, Get Started as a Web Developer