The Programmer News Hubb
Advertisement Banner
  • Home
  • Technical Insights
  • Tricks & Tutorial
  • Contact
No Result
View All Result
  • Home
  • Technical Insights
  • Tricks & Tutorial
  • Contact
No Result
View All Result
Gourmet News Hubb
No Result
View All Result
Home Technical Insights

Svelte 4 released with major performance improvements

admin by admin
June 26, 2023
in Technical Insights


The maintainers of the web development language Svelte have announced the stable release of Svelte 4. 

It has been over four years since Svelte 3 came out, and since then there have been a number of updates to Node.js and browser APIs, and Svelte 4 includes updates to take advantage of those capabilities. 

First off, it offers performance improvements, such as a package size reduction of 75%. The team says the people who will notice this the most include those loading the interactive learning experience on learn.svelte.dev, users of the Svelte REPL, and users with limited connectivity. 

They have also reduced the number of dependencies in the language from 61 to 16, leading to both faster downloads and reduced risk of supply chain attacks. 

Another major focus on this release is developer experience. The process of authoring custom elements has been overhauled and is now more intuitive and consistent. The IDE authoring experience was also updated, with cmd+click now takes you to the actual implementation and file imports from svelte/internal are hidden so as not to clutter autocomplete suggestions. 

Other developer updates include a new default for transitions that prevents animations from blocking page transitions, preprocessors are easier to write, and CSP is now easier to set up and use.

And finally, the Svelte website was overhauled and now contains multiple pages as well as improved mobile nav, better TypeScript docs, dark mode, and better REPL. The SvelteKit site is also being updated to match these chants. All tutorial links have also been updated to point to the new learn.svelte.dev site. 

The team also shared some details about Svelte 5, which will be a full rewrite of the compiler and runtime. According to the maintainers, Svelte 4 lays much of the groundwork for Svelte 5, which will include major new features and performance improvements. 



Source link

Previous Post

How we can better support women in tech

Next Post

Gradle Version Catalogs on Android: Managing Dependencies in Multimodular Projects Has Never Been Easier

Next Post

Gradle Version Catalogs on Android: Managing Dependencies in Multimodular Projects Has Never Been Easier

Recommended

How to Transform the Character Case of a String in JavaScript — SitePoint

7 months ago

Mastering the JavaScript switch Statement — SitePoint

5 months ago

10 Stunning 3D Text Effect Tutorials for After Effects

5 months ago

Vercel launches AI Acceletator, AI Playground, and more

3 months ago

Time for enterprise architects to take their place in the boardroom

10 months ago

Adaptive Shield introduces new features for monitoring third party apps

10 months ago

© The Programmer News Hubb All rights reserved.

Use of these names, logos, and brands does not imply endorsement unless specified. By using this site, you agree to the Privacy Policy and Terms & Conditions.

Navigate Site

  • Home
  • Technical Insights
  • Tricks & Tutorial
  • Contact

Newsletter Sign Up.

No Result
View All Result
  • Home
  • Technical Insights
  • Tricks & Tutorial
  • Contact

© 2022 The Programmer News Hubb All rights reserved.