360° IT Check #35 — State of JS 2021, Express.js 5 Beta, And More!
Table of Contents

360° IT Check #35 — State of JS 2021, Express.js 5 Beta, And More!

Summary:

  • Express.js 5 gets another release after almost 2 years, bringing many new changes with it
  • Firefox, and Chrome Reaching Version 100, causing a mini-Y2K flashback
  • 2021 State of JS Results, more than 16,000 people weigh-in
  • Next.js 12.1 is released, bringing big changes to a minor update
  • LINE, and contributions of tech companies to the Open-Source community
  • Bonus: The Revolution Of The Machines Is Cancelled - check out the tweet below to see for yourself

Express.js 5 Gets Another Release After Almost 2 Years

A developer equivalent of seeing Halley’s Comet is seeing an update to Express 5. After two years, we have seen an update to, undoubtedly, the most popular back-end Node.js framework. It’s not just any update, either: it’s the first beta release of Express.js 5, ever.

Changes that came with it are somewhat important, with updates to the underlying foundations. They introduce new features, make the lightweight framework sturdier, and get it up to speed.

The bottom line

It’s easy to understate how significant Express.js is in the Node.js ecosystem. It’s often the first  back-end framework people learn, and every so often the last. The number of other projects it influenced is spectacular: JavaScript or not, developers from many languages. Having that in mind, the poor, infrequent updates to the project are a shame. The quest to deliver the fifth major upgrade is going on for more than quite a while, which makes choices to use Express.js in production suboptimal. There are better choices out there, such as Nest.js or Fastify.

You may see the full list of changes introduced if you follow this link: https://github.com/expressjs/express/blob/5.0/History.md.

Firefox, and Chrome Reach Version 100

Firefox and Chrome, two of the leading web browsers which care about web standards (sorry Safari) are just about to reach their hundredth version. It’s a major milestone for both teams, though Google’s team has more to celebrate. The team working on Mozilla’s browser is in a downturn, with their parent company laying off a big part of the developers. 

The bottom line

Version 100 is also important for one significant reason. It’s the first time when the number will be a three-digit one. It has already caused numerous problems with websites breaking all of a sudden. Some pages will send you different code based on the version you run – and that’s precisely what fails at times. We are not talking about small, indie websites, either. We are talking about sites such as eurosportplayer.com or daimler.de.

The issue stems from similar assumptions that made the Y2K bug a thing. Many libraries must have made some assumptions that the length of a version will always be two digits. Obviously, that is not the case, as we now have a three digit version, and it makes such code go bananas. Funnily enough, a similar thing happened 12 years ago, when we had version 10. 

2021 State of JS Results

The survey results for State of JS are out. The project is the widest attempt at determining the current state of the language, and the wider ecosystem. This year, there were slightly more than 16,000 respondents from all around the world. Unsurprisingly, the majority of people opted to answer the questions in English.

The bottom line

There are some key (and interesting) conclusions we can draw from the results. Of course, we are assuming that the random sample was representative of the whole developer population:

  • The average experience of JavaScript developers is 5-10 years;
  • While the most common answer referring to one’s education was “a degree from a related field,” ~18% declared no higher education;
  • If we are to take a percentage of users who would use a given library again as an indication of quality, then the best frameworks were Vite, esbuild, Testing Library, tsc CLI, Jest, Cypress, and Next.js;
  • Using the same criterion, the worst ones are Jasmine, Ionic, Gatsby, Angular, Browserify, Gulp, and Cordova;
  • There are two winners in terms of satisfaction in the category of front-end libraries: Svelte, and… Solid.js. Solid.js is a fairly new tool for creating efficient apps with an API similar to that of React’s;
  • Building a Desktop App? Give Tauri a shot! It won in terms of satisfaction in its category. It’s certainly not as mature as Electron, but also not as resource hungry. When we compare the two, choosing the less mature option is a no-brainer. It starts quicker, the installer is smaller, and uses less memory;
  • JavaScript developers are most likely to know Python, PHP, or Java, with Bash, C#, and Go closing the top 6
  • Finally, the biggest winner is Evan You (though the victory might have a bitter taste) – his Vite took 1st place overall in satisfaction, and interest. He did have a few things to say about this… Vue was sadly a victim of a major fall in Satisfaction, with the change attributed to the “messy” Vue.js 3 upgrade process.

No matter what our insights are, it’s best if you take a look at the results yourself, as they are good pointers for you and/or your team.

The results are available here.

Next.js 12.1

Next.js, the standard choice for all React developers looking for a full-stack framework, received a minor update, that’s not one to ignore.

We have some goodies delivered to us. Perhaps most importantly, you may now revalidate your page on demand (On-demand ISR). It was one of the highly requested features, that lets you make all browsers check for new content on demand, rather than after a predefined time interval.

Another important change is the improved support for React 18, and Server Components. Both of them bring highly awaited features, such as concurrent rendering, and the latter brings the ability to render components on the server-side.

The bottom line

There is plenty to be excited about, since the features that are coming will allow you to write apps in a way that puts less strain on users computers. You will be able to send less JavaScript, and have your pages load faster. SEO will also be better without the need for any 3rd party code or extra configuration. 

The React team claims everything will “just work.”  If that really is the case, then we can expect great things without much effort.

LINE, And Contributions Of Tech Companies To The Open-Source Community

The engineering team at LINE have announced that they are now supporting Prettier and other OSS, and want to make sure that they appreciate the community behind these open-source technologies and those who make sure they are running well. They explain why they are supporting these technologies and the responsibility that for-profit companies have towards making sure they support the software that they rely on - and the risks that come with choosing not to support any OSS.

The topic of paying open-source maintainers and committers remains complex, and most open-source initiatives don’t receive enough support to hire full-time developers. It seems, however, that projects like Prettier has found a work-around for this and is paying two maintainers $1,500 USD/month for their work. Perhaps not enough to maintain the whole project, it is a good start.

The bottom line

Open-source is key to advancing the development of software products – companies who use these technologies and profit from their usage are strongly urged to support the creators, committers, and maintainers of these initiatives.

If you or your company want to support open-source initiatives, make sure to check out OpenCollective and GitHub to see if the technologies that you use and want to support are listed there. Also, make sure to search for the technologies’ pages individually to see what sponsorship options they have. If you’re struggling to convince your company to set up an open-source fund, check out this guide.

If you are an open-source creator, committer, maintainer, or community manager - keep in mind that in most cases, support/sponsorship budgets for open-source initiatives at both startups & enterprises come from the Marketing Budget rather than R&D/Product/Technology budgets. Make sure to reach out to the marketing teams there to boost your funding efforts. 

We’d love to talk and support you to craft your pitch to send to companies to support your open-source project, make sure to reach out! We’re also available on LinkedIn – Aleksander Jess (Content Marketer & a JavaScript Developer) & Hisham Itani (Head of Marketing).

At ITMAGINATION, we have set up an Open-Source Fund where we will allocate a monthly budget to support open-source technologies that we are using internally and on work with our clients. We will be releasing the results of our internal votes soon from our 400+ person developer team. 

Bonus: The Revolution Of The Machines Is Cancelled


Liked the article? subscribe to updates!
360° IT Check is a weekly publication where we bring you the latest and greatest in the world of tech. We cover topics like emerging technologies & frameworks, news about innovative startups, and other topics which affect the world of tech directly or indirectly.

Like what you’re reading? Make sure to subscribe to our weekly newsletter!
Relevant Expertise:
No items found.
Share

Join 17,850 tech enthusiasts for your weekly dose of tech news

By filling in the above fields and clicking “Subscribe”, you agree to the processing by ITMAGINATION of your personal data contained in the above form for the purposes of sending you messages in the form of newsletter subscription, in accordance with our Privacy Policy.
Thank you! Your submission has been received!
We will send you at most one email per week with our latest tech news and insights.

In the meantime, feel free to explore this page or our Resources page for eBooks, technical guides, GitHub Demos, and more!
Oops! Something went wrong while submitting the form.

Related articles

Our Partners & Certifications
Microsoft Gold Partner Certification 2021 for ITMAGINATION
ITMAGINATION Google Cloud Partner
AWS Partner Network ITMAGINATION
ISO-IEC 27001:2013 ITMAGINATION ISO 9001 ITMAGINATION
© 2024 ITMAGINATION, A Virtusa Company. All Rights Reserved.