Skip to content

JavaScript Every Month

Web in May 2021

and that was May..

Last week I was pair programming with a friend when he said JavaScript as language needs to evolve a lot more. Well, what are some of the features you want to see, I asked him amused. That's when he talked about how the last version of JavaScript was ES6 and that was so long ago. I can even recite all of them, because I have learned it for the interviews he continued.

Since you are reading this newsletter, you probably know this. But ES6 was absolutely not the last version of JavaScript. It was a major shift in the feature release cycle and largest bunch of features to be released in recent times. But the rest of releases have just been spread over time and much smoother.

EditionOfficial nameDate published
ES12ES 2021Release Candidate Stage
ES11ES2020June 2020
ES10ES2019June 2019
ES9ES2018June 2018
ES8ES2017June 2017
ES7ES2016June 2016
ES6ES2015June 2015
ES5.1ES5.1June 2011
ES5ES5December 2009
ES4ES4Abandoned
ES3ES3December 1999
ES2ES2June 1998
ES1ES1June 1997

Each of these releases contain proposals that reach the fourth stage and approved by the TC39 committee - See entire process

Next time, when interviewers start bothering you about ES6, talk to them about upcoming features in ES2021 and how it is going to turn your workflow around.


Releases

  • Web Containers - Google in their IO last week introduced Web Container for Chrome by which we can run NodeJS in the browser. The speed at which Stackblitz can install and run NodeJS dependencies is just 🤯.
  • Bootstrap 5 - After lots of time spent on Alphas and Betas, Bootstrap v5 is here with redesigned elements like Accordion, Form etc. One of the major changes is how Bootstrap is embracing logical properties in CSS.
  • Github Elements - Github discusses their process of using and open sourcing web components. They have also released an open source collection of these elements.
  • Internet Explorer. 16 August 1995 - 15 June 2022 - I know this is the releases section, but this is as important. Edge now comes with a IE compatibility support, so you can use that for legacy applications and Edge for everything else.
  • MDN Plus - A new premium service with monthly technical deep dives written by industry experts and powerful new features to personalize your MDN experience.

Tutorials

  • The new responsive - Una Kravets shows us how we tend to narrow down the definition to 'responsive' web by just focusing on window sizes.
  • Under Engineered Select Forms - As a developer who has been doing this for time, whenever I see a select in the design, I instinctively reach for react-select. Even if the library got the accessibility and usage right, browsers won't come around to auto filling them. This tutorial focuses on styling your selects to look good so you don't have to feel like swapping it out (it might sound easy)
  • Modern CSS Pseudo Selectors - There are several new CSS pseudo selectors that are now available in browsers. My favourites being any-link and focus-within.
  • Justify Content & Align Items - It's a very common joke within the community that nobody knows the values of justify-content and align-items, you just try some, get some. Josh tries to demystify both properties and how they work. Also checkout the new Flex explorer in Chromium based devtools.
  • Learn CSS - web.dev - web.dev now has a complete tutorial on CSS.

https://twitter.com/rauchg/status/1388231666771001346

In the Spotlight 🔦

Container Queries

CSS has an upcoming feature named Container Queries that is currently available under a flag in Chrome Canary (very exclusive! Ik). Why are we talking about such a feature then?

We already have media queries that lets us adopt CSS queries to a range of viewport size. Container Queries allows us to adapt our CSS queries with the container it is nested in. So the screen doesn't have to be large or small, you can immediately use container queries to adapt your component to the space it is displayed in.

Visualisation

The above visualisation is from an amazing explained from Ahmad Shadeed - Original Post

https://ishadeed.com/article/say-hello-to-css-container-queries/

Product Discoveries

  • DOM Events - Learn about the DOM Event system through exploration

https://twitter.com/0xca0a/status/1397662654383144965

In Other News

  • URL Lengthener - You are used to URL shorteners, this one's the opposite. How it does it entirely on the client is also a fascinating read.
  • Coinbase transition to React Native - Coinbase details their journey to port apps to React Native, what they have learned and gained from the experience.
  • Curl Critics - Daniel Stelberg, tongue in cheek lists various opinions from people undermining his effort as a CURL maintainer (Thanks for all the work you do! 🎉)
  • How TikTok Is Changing Starbucks - Did you know there were a category of influencers called Starbucks Influencers who recommended custom drinks? yeah! me neither.
  • Reimagining video infrastructure to empower YouTube - Youtube blog on their infrastructure to serve millions of videos every second.

Looking Ahead

  • JSNation - June 9-11 - Do checkout the speakers list on this one.
  • NextJS Conf - June 15 - Check this site out, you're surely watching the conference anyway.

Subscribe to JEM Newsletter

Stay ahead of the curve in Web Development with Javascript Every Month Newsletter.

I will deliver a curated selection of articles, tutorials, and resources straight to your inbox once a month.

No spam, unsubscribe anytime.

Keyboard shortcuts

h
Go to Home
b
Go to Blog
w
Go to Webmarks
p
Open Projects
j
Go to Newsletter
t
Switch light and dark
s
Turn key sounds on or off
/
Search webmarks
?
Show this sheet

This keyboard hides a couple of secrets. One is spelled out on the home page; the other is older than most of the web.