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!