# What's new in Svelte: May 2021

DevFeed: [What's new in Svelte: May 2021](<https://devfeed.tech/articles/what-s-new-in-svelte-may-2021-3104.md>)

Original publisher: [Read original article](<https://svelte.dev/blog/whats-new-in-svelte-may-2021>)

Author: Dani Sandoval

Published: 2021-05-01T00:00:00Z

Content type: article

Language: en

Sources: [Svelte blog](<https://devfeed.tech/sources/svelte-blog.md>)

Topics: [Svelte](<https://devfeed.tech/topics/svelte.md>), [Compiler](<https://devfeed.tech/topics/compiler.md>), [CSS](<https://devfeed.tech/topics/css.md>), [Server-side rendering](<https://devfeed.tech/topics/server-side-rendering.md>), [HTML](<https://devfeed.tech/topics/html.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [npm](<https://devfeed.tech/topics/npm.md>), [Extension](<https://devfeed.tech/topics/extension.md>)

Tags: [browser](<https://devfeed.tech/tags/browser.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [css](<https://devfeed.tech/tags/css.md>), [extensions](<https://devfeed.tech/tags/extensions.md>), [html](<https://devfeed.tech/tags/html.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [npm](<https://devfeed.tech/tags/npm.md>), [ssr](<https://devfeed.tech/tags/ssr.md>), [svelte](<https://devfeed.tech/tags/svelte.md>)

## AI overview

A May 2021 Svelte news update covering compiler improvements, SvelteKit changes, language-tool enhancements, and community projects built with Svelte and SvelteKit.

## Source excerpt

Last week, Svelte Summit blew us away with a mountain of content! Check out the full recording or an audio-only (p)review on Svelte Radio. Now let's get into this month's news... New features in the Svelte Compiler :global() is now supported as part of compound CSS selectors (3.38.0, Example) CSS custom properties can now be passed to components for use cases such as theming (3.38.0, Docs coming soon) New in SvelteKit kit.svelte.dev has a fresh new look and the SvelteKit Demo Site got a fresh set of paint. Check it out by running npm init svelte@next You can now use @sveltejs/adapter-static to create a single-page app or SPA by specifying a fallback page (PR, Docs) Disable Server-side Rendering (SSR) app-wide or on a page-by-page basis (PR) Error messages thrown during pre-rendering are now much more informative and readable (PR, Docs) Layouts can now be reset to prevent pages from inheriting the root layout. This is useful if you have a specific layout for a page or i18n variation (PR, Docs) fetch in SvelteKit code will now use the environment-provided implementation, whenever possible. If fetch is unavailable, it will be polyfilled by adapters (PR, Docs) New in Svelte & Language Tools svelte-preprocess now supports the "extends" field of the tsconfig.json (4.7.2) HTML style attributes now have hover & auto-complete. Foreign namespaces and ESM configs are now supported in the Svelte language server & extensions The Svelte language tools can now infer slot/event types from their props if a generic relationship between them was defined Community ShowcaseApps & Sites gitpod.io recently rewrote its site with SvelteKit highlight eel is a web-based editor to mark your favorite parts of any YouTube video to clip and share with anyone The Far Star Mission is an interactive audiobook companion to the album, The Far Star by Apotheus JavaScript quiz is a small quiz application that saves your answers locally ExtensionPay lets developers accept secure payments in browser exten