Web in October - Newsletter by Agney
Hello November!
Almost the end of the year. What’s on your year-end bucket list? Have you got through all your 2022 checklist yet? Now’s the time to tidy up.
It’s the season of layoffs for startups and tech companies in general as US is bracing an upcoming (or ongoing, depending on who you ask) recession. Remember, when the U.S. sneezes, the world catches a cold. Some major companies to layoff a chunk of their workforce include Stripe, Seagate, Lyft, Shopify, Pleo and Chime. Twitter is waiting for Elon Musk to drop the ball on how many of the employees are going out. Major companies like Amazon, Apple, Alphabet and Facebook have announced slowing down of spending and hiring.
Releases
Browsers
Chrome 107
With the addition of Edge and Chrome, grid track animation is now everywhere. Chrome also adds some new properties to screen capture API - out of which selfBrowserSurface
grabs my attention. This property prevents you from sharing the current tab leading to a mirror inception before.
Firefox 106
Firefox adds @support
for font-tech()
and font-format()
which can be used, for example to check colorv1 fonts that we discussed last month. HTMLMetaElement.media
is now supported, meaning you can set different theme colours for different devices.
const meta = document.createElement("meta");
meta.name = "theme-color";
meta.content = "#3c790a";
meta.media = "(prefers-color-scheme: dark)";
document.head.appendChild(meta);
Safari 16.1
- Support for AVIF images are here with a catch - you have to use MacOS Ventura to get it. Edge has not caught up to AVIF yet, so unless you are using a cloud provider with automatic format selection, you can’t serve it to everyone everywhere.
- Web Push is now supported on Safari and everywhere with a catch - (you guessed it) you have to use MacOS Ventura to get it. Webkit’s release article for Web Push says that web push is coming to iPadOS and iOS in 2023.
Node.js 19
Node.js 19 brings experimental support for --watch
flag for reloading when files are changed. Some thing the community always installed nodemon
for. Also, HTTP(S)/1.1 KeepAlive is true
by default which means better throughput as connections are being reused in a 5 second timespan.
Also releasing alongside is npm v9 with a bunch of breaking changes. So upgrade with care ⚠️. With this release, npm will no longer attempt to modify ownership of files it creates which should make it easier for docker users.
Next.js 13
- Next.js 13 brings widely Suspenseful features like streaming and server components that React announced to the framework.
- Comes with Turbopack - a Rust based successor to Webpack ⚡️ and SWC enabled by default.
- There is an upgrade to the file based router with
app
directory and layouts components.
⬇️ Everything we launched at Next.js Conf yesterday
— Lee Robinson (@leeerob) October 26, 2022
Netlify has also launched Background and Scheduled API for Next.JS so you can start off tasks in the background with Next.JS.
On the subject of React based Frameworks, Gatsby 5 Alpha is out now. The Gatsby team has also announced a new product named Valhalla Content Hub which is a GraphQL federation CMS (or whatever you want to call a services that unifies data from different CMS and provides a unified GraphQL API).
Postgres 15
World’s most advanced open source database continues to incrementally be better.
Remixing Shopify
Shopify acquires the Remix library. The major complaint that Remix took is that it did not have corporate support and this kinda fixes that.
Ghostwriter - Replit
Ghostwriter is a Github CoPilot competitor from the Replit team and is available on their platform. I like their Creative Consultant pitch, I don’t think it works well, but well the pitch works.
Tutorials
This article goes deep into sprites, their old-school use cases and explains the usage with shiny SVG. I love that it discusses different approaches considered and their advantages and shortcomings.
Sometimes you are setting up a CodePen and you need something better at organization than vanilla JavaScript.
Better error messages - Medium
This article has examples of good and bad copy writing in error messages. With first instinct, we got with Whoops! Something went wrong and sometimes even stop there. User has not context to get to where they want to go or report their issue. This article can inspire us to do better.
Component Patterns - web.dev
There is a new collection from web.dev concerning component patterns that we share across frameworks.
HTTP Crash Course
HTTP is not something people really care about. Nobody really learns HTTP before getting into tech. But there is apparently lots of interesting intakes into HTTP and this crash course brings you some.
In Other News
Stanford Computer Scientist Answers Coding Questions From Twitter | Tech Support | WIRED - Youtube
It is often said that Computer Science is hard to explain to people who are not in the field. I find it hard to explain what I do. But this video had me rethink, may be it’s not too hard for a good presenter. It’s just a matter of improving my skills are presenting. Everyone uses computers these days.
Brave blocks cookie popups
Everyone agrees on cookie popups being annoying and not serving their purpose. So much so that Brave has decided to block them by default.
How fateful
You never see it until you see it. Then you keep seeing it. Channon Perry makes a program out of her and boyfriend’s geo coordinates from Google to find how many times they may be crisscrossed within their campus.
Looking Forward
- Jamstack Conf - Nov 7-8
- Github Universe - Nov 9 -10