JEM - Web in September - JavaScript Every Month Newsletter
Hey October 👋
In 1995, Netscape partnered with Sun Microsystems to create interactive websites. Brendan Eich famously spent only 10 days creating the first version of JavaScript, a dynamic programming language with a rough syntactic lineage from Sun’s Java language. As a result of this partnership, Sun held the JavaScript trademark. In 2009, Oracle acquired Sun Microsystems and the JavaScript trademark as a result.
Oracle has renewed the Java trademark year after year and still holds it today. This has caused confusion within the JavaScript community regarding the association between Oracle and Java. Now, there's an online petition aimed at explaining the issue and pushing Oracle to relinquish the trademark. You can sign it at javascript.tm.
Releases
Browsers
Firefox 130
name
attribute is supported on accordions, this can create exclusive accordions. Available in baseline.- The hyphens CSS property is now properly supported for Czech and Slovak languages.
- The Web Codecs API is supported on desktop releases, giving web developers low-level access to the individual frames of a video stream and chunks of audio. Available in Baseline.
Chrome 129
- Animate to
auto
is supported withmin-content
andfit-content
Intl.DurationFormat
to format durationsscheduler.yield()
causes the current task to yield, continuing in a new browser task
Safari 18
- Added support for
,
, and
elements
- Added support for using passkeys across related origins
- Support for
content-visibility
, View transitions, unprefixedbackdrop-filter
.
Vue 3.5
- Reactivity System: Major refactor for better performance and memory usage.
- Reactive Props Destructure - now enabled by default, you can destructure variables from
defineProps
which are reactive. useId
API to generate unique IDs that are stable across server and client side renders.
TypeScript 5.6
- Disallowed nullish and truthy checks
- support for arbitrary module identifiers
- Enhanced support for ECMAScript modules and new compiler options like
--noCheck
Biome 1.9
Anniversary release for Biome. It's been a year since the super fast formatter has started work, in this year it's already won the Prettier challenge.
ESLint 9.10.0
- types are included in the package instead of
@types/eslint
Vite Conf
- Vite’s growth to 15 million weekly downloads and Vitest replacing Jest as a test runner
- updates on upcoming Rolldown release that the team is working on
- Stackblitz released bolt.new where the AI agents can access full stack Node.js packages in the browser.
- React router v7 prerelease is now available. This will be first glimpse of the new Vite plugin that enables Remix.
Express 5.0
We did not have Express being updated in a long while and people commented that it had stopped development. We have a major version now that proves that's not the case.
Date fns 4.0
- Introduces a new library named
@date-fns/tz
which has support for all date-fns functions.
In the Spotlight 🔦
This month, we will look at AI tools that are helping with coding.
Remember: You won't be replaced by AI; you'll be outpaced by someone who harnesses its power.
My first and constant companion on coding on VSCode is GitHub Copilot. While it's certainly not perfect, I have likely figured out things that this pair programmer of mine is good at, so I wait for the tab only on those things.
I'm okay using Copilot because my company pays for it, but you might be forced for alternatives. Tabby is an open source local copilot that integrates with VSCode. FauxPilot is another popular alternative based off on SalesForce Codegen that you can self host. A code editor alternative that everyone seems to be in love with is Cursor, it's a fork of VSCode with AI build into the editor itself. If you are tight on pricing and easy on privacy, the free Supermaven tier is also worth looking into.
Now for some left field suggestions:
- Continue.dev - Open source AI editor (think cursor, but open source)
- Unblocked - Augment code with context from Slack, confluence, Jira.
- Qodo - Generate tests from code.
- Graphite reviewer - Reviews code with you.
- Copilot on Github - Allows for Copilot to be directly integrated into Github UI, where it can generate PR summaries, answer questions about code with Chat etc.
Tutorials
React 19 cheatsheet - Epic React
Kent C. Dodds, as part of his Epic React course, has released a single-page React 19 cheat sheet. I found it easy to go through, and it could serve as a great interview revision resource.
Types of React components - Robin Wieruch
This is a great throwback and a fascinating look ahead, where Robin explores the evolution of React component types—from the early days of createClass to the newly supported async server components. It's been quite a journey!
Angular Routing Essentials: All You Need to Know in One Post
At first, I wondered if there was much to write about the router, but then I remembered React Router has an entire website of documentation. This piece offers a clear and straightforward take on Angular routing and its various mechanisms.
Server functions - React docs
React has officially renamed "server actions" to "server functions".
If a Server Function is passed to an action prop or called from inside an action then it is a Server Action, but not all Server Functions are Server Actions. The naming in this documentation has been updated to reflect that Server Functions can be used for multiple purposes.
Look out, kids: PHP is the new JavaScript
The Mux blog argues that Laravel has reignited excitement around PHP updates, and I tend to agree. The language has gone from being meme-worthy to something people look forward to—though perhaps it's more about the frameworks than PHP itself.
I wanted to share the following 10 Tailwind techniques. These will come in handy next week.
— shadcn (@shadcn) October 4, 2024
For those who don’t use Tailwind, here be dragons!
1/10 - Let’s start simple. Set a CSS variable (width) based on state and use an arbitrary className. pic.twitter.com/cYndYHGy7p
In Other News
The WordPress vs. WP Engine drama, explained
The major drama this month was the WordPress meltdown—a clash between WordPress founder and Automattic CEO, Matt Mullenweg, and WP Engine, a WordPress hosting platform. At WordCamp, the WordPress conference, Matt accused WP Engine of being a cancer that profits from open-source software without contributing back. WP Engine, in turn, accused Matt of extortion and demanding money. In response, WordPress made some trademark changes in their license and blocked WP Engine's servers. WPEngine has, since then rolled out their own service for updating themes and plugins.
Meta Connect 2024: Everything Revealed in 12 Minutes - CNET
- Orion AR glasses that are not for sale
- New cheaper virtual reality headset Meta Quest 3S
- Instagram has been rewritten with React native for Mixed reality.
- Mark Zuckerberg has given out interviews with many Youtubers in association with this release, I think the interview with Cleo Abram is a pretty interesting watch.
AI Updates
- OpenAI O1 - OpenAI's new model thinks by default and takes time answering queries - but it can solve problems that cannot be solved by default models (like how many 'r's are in strawberry)
- Meta Llama 3.2 - Meta's open source models can now take both text and image inputs and comes in 1B, 3B (text only), 11B, 90B (multi modal) sizes.
- Meta MovieGen - Meta's text to video generation platform competing with the likes of Sora. The page comes with some impressive demos but it's still in research phase.
- Contextual retrieval with Anthropic Claude - Along with the newly released prompt caching, Claude has also introduced adding context to every retrieved chunk. According to their research, this reduces the number of failed retrievals by 49%.
- Flux, the open source AI generator has released a new version of their model, Flux 1.1 which in blind tests overtake the likes Midjourney and Stable diffusion. Flux 1.1 Pro is also available in association with Freepik.
Open AI Dev day
- Text to speech realtime API
- Ability to fine tune GPT with images than just text.
- Prompt caching allows you to cache the base prompt that you are running, thereby reducing tokens and cost.
- Model distillation involves fine-tuning smaller, cost-efficient models using outputs from more capable models, allowing them to match the performance of advanced models on specific tasks at a much lower cost. This is now possible on the OpenAI platform.
JSConf is Back and Joining the OpenJS Foundation
JSConf is contributing the trademark including the JS logo and watermark, to OpenJS. They are planning a standalone event next year.
Looking Ahead
- React Brussels - Oct 18
- React India - Oct 18, 19
- Svelte Summit - Oct 19
- NextJS Conf - Oct 24
- JetBrains JavaScript Day - Oct 24
- ReactJS Day - Oct 25
- React Advanced - Oct 25 & 28
- CityJS Medellin - Oct 25-26