Member-only story
Svelte 3.52.0 Improves Dev Experience
React is silent for three months, Angular discovered maybe we don’t need boilerplate after all. Vue and Ember are patching some bugs.
Aside from all of these hot takes in the framework hot pot, Svelte is trying to prove that elegance will bring a better world.
Version 3.52.0 released on 15/10/2022 comes with four improvements for developers.
Let’s dive into the elegant features!
No more assigning to const

When a developer tries to assign a value to a const variable all you really can do is either tell him, or use the silent treatment. The latter was the Svelte way of dealing with the absurdity of such attempt.

The 3.52.0 version will throw a compile time error. The wording is direct and informative. It sounds like a wake up call. Drink your coffee or call it a day. I love the wording used by Tan Li Hau!
Read about three more features, it’s worth it!
Safe _blank window opening
It is widely unknown fact that when you open a new window it may access your page data. It is due to a property called opener. A feature that was introduced in browsers in the times when websites had open guestbooks.
Unfortunately, for a third party to have access to your application data is today is a serious security flaw. For example, you could open a safe third party website. But because it is infected, a malicious script can read, or even manipulate (?) your application.
To tackle this issue, Svelte bow brings a warning when a page is opened in such way.
The improvement may seem like not being a responsibility of a framework. However, it shows that Svelte team is dedicated to help developers (e.g. build secure apps).