Simon McManus
Javascript
Ideas, thoughts and links about Javascript developement and the London community.
Posts
Links
-
GitHub - microsoft/Web-Dev-For-Beginners: 24 Lessons, 12 Weeks, Get Started as a Web Developer
-
tensorflow/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.
2020-12-06 -
jsPerf: 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.
2020-05-07 -
How 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.
2020-05-01 -
JavaScript | 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.
2020-04-19 -
HTML DOM - Common tasks of managing HTML DOM with vanilla JavaScript
how to manage HTML DOMwith vanilla JavaScript only?for modern browsers and IE 11+
2020-03-29 -
Monads 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.
2020-02-09 -
GitHub - 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;
2019-10-11 -
GitHub - 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)
2019-07-29 -
Does it mutate?
does it mutate?
2019-04-29 -
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.
2019-03-19 -
untitled - Paint
-
CSS Houdini: JS-in-CSS - @iamvdo
Generic worklet to be authored right from CSS
2019-02-22 -
CityJS Conference 2019, London UK
CITY OF LONDON JAVASCRIPT CONFERENCE CITYJS CONFERENCE 03 MAY 2019
2019-02-13 -
SpeedCurve | JavaScript Dominates Browser CPU
-
date-fns - modern JavaScript date utility library
Return the formatted date string in the given format.
2018-12-11 -
await 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.
2018-02-20 -
Stimulus: A modest JavaScript framework for the HTML you already have.
A modest JavaScript framework for the HTML you already have.
2018-01-31 -
The 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.
2017-11-27 -
Using 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.
2017-07-25 -
Why 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?
2017-05-30 -
What Google AMP means for the JavaScript community · molily
By neglecting web performance, the JavaScript community unintentionally paved the way for AMP.
2017-05-30