What Happend in May?
React v19
Let’s start with the new React 19, which introduces several new features and improvements. Here is the TLDR:
- You can now use Actions and Transitions to simplify async operations like data mutations or state updates;
- The server rendering capabilities are improved through Server Actions and Server components;
- Document metadata tags are now natively supported in components;
- We gained access to a handful of new hooks for managing state and optimistic updates;
- And error handling was improved to provide a better dev experience.
However, the talk of the town for the past few weeks was the React Compiler, which is designed to automatically optimize React applications at build time by memoizing code.
Angular v18
Next, let’s look at React’s main competitor, which also got a major release this week. Angular is going through an interesting transition, and here are the key aspects making it a really cool, modern framework:
- Signals are now in developer preview, which means we are one step closer to getting “real reactivity”;
- Thanks to signals, Angular can now introduce experimental zoneless support to improve performance and debugging;
- Deferrable views and the built-in control flow are now stable;
- And, of course, more improvements to server-side rendering.
Svelte v5
Svelte 5 is also one step closer to being production ready, and this new version introduces some new interesting concepts.
- First of all, the Svelte reactivity model is now unified under Runes. While in previous versions either Observables or Dirty checking were employed to track state changes, Signals are the newly adopted solution here as well.
- The V5 compiler went through a major overhaul as well, and the new code output is smaller, more efficient and faster in the browser.
- Finally, the introduction of snippets improve the component composition support.
Solid Start
And, since we are talking Signals, we have to mention Solid Start, the meta-framework that leverages Solid JS’s reactive core. This one is long awaited, and promises all the features you are probably familiar with:
- Universal rendering with seamless transitions between server and client;
- Advanced file-based router;
- Enhanced developer tools;
- Integration with Vite for a faster developer experience.
The State of HTML
Finally, the State of HTML survey results were released, and this is always a good exercise to update your knowledge on some of the basics.
If you find such updates useful you should consider following us on X, joining our newsletter or watching one of these videos next.
Until next time, thank you for reading!