Well, well. If it isn't Chromium!

Issue #64.September 6, 2021.2 Minute read.
Bytes

2021 is the year of drama on the desktop, to #64.


Electron Meme

Well, well. If it isn’t Chromium!

Electron releases v14 and gets a new competitor

You probably missed the news about the new Electron release. But don’t worry, that’s what you’re paying us for. Wait.

Electron 14 is one of those major releases without a ton of major new features. It upgraded Chromium and V8, added some new APIs (nothing too groundbreaking), fixed some bugs, and introduced a few (small) breaking changes.

Zooming out: Electron was first released in the summer of 2013. The best thing about Electron was how it bundled Chromium and Node.js, which allowed for cross-platform desktop app development.

Fast forward 8 years, and it turns out that the worst thing about Electron is also how it bundles Chromium and Node.js — which is the main reason why it’s so (relatively) big and slow.

But hey, Electron’s not going anywhere any time soon, right? It might have a little too much BDE (Big Desktop Energy), but tons of apps still rely on it, including VSCode, Discord and Facebook Messenger.

About that last one…

React Native has entered the (desktop) chat: Fresh off a new release of their own, the React Native team just announced that they’re now targeting new platforms, starting with desktop and VR.

They’ve already partnered with Microsoft to create a “truly native” video calling experience for Facebook Messenger on Windows and macOS that “completely blows away the performance of the Electron implementation that it replaced.” Shots fired.

Bottom Line: Most Electron apps aren’t going to drop everything to immediately switch frameworks (except the apps that are owned by Facebook). But this is definitely a big shakeup of the native desktop app landscape that’s worth following.


Kendo Meme

Kendo UI delivers everything you need to build modern, beautiful, responsive apps!!!

These Kendo UI grids have changed my life

Building a data grid is one of the things that sounds pretty easy and straightforward, but always has a bunch of hidden gotcha’s waiting to sabotage your project (and your sanity).

And most data grid libraries out there are kind of like that old used car you saved up to buy in high school — it might technically work (some of the time), but it’s almost not worth the hassle. Oh, and it’s dangerous.

That’s why you should just use Kendo UI — a collection of four JavaScript component libraries with powerful data grids (along with dozens of other components) that can save you from Grid Hell™.

Each library is fast, responsive, easy to customize, and (best of all) written from the ground up for the most popular JavaScript frameworks — Angular, React, Vue, and even jQuery (lol). So you get all the benefits of native components, without actually having to build them yourself like a pleb.

👉 Check out Kendo UI’s free trial, and see what grid nirvana feels like.


JS Tip - .find

One array method that I find is underrated is .find. It allows you to find the first element in an array which satisfies a test specified by a given function.

const tweets = [
  { id: 1, stars: 13, text: 'Turns out "git reset --hard HEAD^" was a terrible idea.' },
  { id: 2, stars: 87, text: 'Tech conferences are too expensive.' },
  { id: 3, stars: 51, text: 'Clean code is subjective. Optimize for deletion.' },
  { id: 4, stars: 19, text: 'Maybe the real benefit of open source was the friendships we made along the way?' },
]

const tweet = tweets.find((t) => t.id === 3)

console.log(tweet) // {id: 3, stars: 51, text: "Clean code is subjective. Optimize for deletion."}

Jobs

2x Sr. Frontend Engineers - React | 100% Remote

Close.com is looking for two experienced individuals that have a solid understanding of React and want to help design, implement and launch major user-facing features. They are a 100% globally distributed team of ~45 high-performing, happy people that are dedicated to building a product our customers love.


Cool Bits

  1. Speaking of Electron, Niels Leenheer wrote a passionate lukewarm defense of Mr. Big Desktop Energy™ entitled, Why Electron apps are fine. Moving stuff.

  2. Strapi CMS is inviting you to a special party to celebrate the release of the V4! Rumor has it they’ve got a great open bar this year, consisting of — *checks notes* — everything in your fridge. Grab your seat by signing up on the waiting list and strap yourself in for a rager. [sponsored]

  3. Stitches is a new CSS-in-JS library with lots of cool features for that only true snitches will understand. Get it? Because Snitches get Stitches? (The funniest jokes are the ones you have to explain.)

  4. After realizing they want to be rich too, the developers behind Nuxt.js (the super popular Vue framework) have formed a company called Nuxt Labs with a flashy new website that makes you feel like you’re trapped inside one of The Weeknd’s music videos.

  5. Giuseppe wrote an explanation of Twitter’s div Soup and Uglyfied CSS, which is a title that somehow makes me feel both hungry and nauseous at the same time (just like every time I see a Taco Bell commercial).

  6. Fikayo wrote a detailed tutorial on State Management in Svelte Applications.

  7. Ultra is a Deno-based, React Streaming framework that’s built on top of React 18 that (like George Clooney) looks cool but is still very alpha.

  8. My favorite types of visualizations are the ones where I imagine that angels are coming down from the sky to help my favorite baseball team win the pennant, so that my dad will finally come back home and stop abandoning our family. My second favorite visualizations are the ones where I’m building state machine diagrams using XState.