๐๐ฟ๐ฎ๐บ๐ฒ๐๐ผ๐ฟ๐ธ๐ ๐ฅ๐ผ๐. ๐ง๐ต๐ฒ ๐ฃ๐น๐ฎ๐๐ณ๐ผ๐ฟ๐บ ๐๐ผ๐ฒ๐๐ป'๐.
Stop looking at your package.json as a list of tools. Start looking at it as a list of liabilities.
Most developers leave frameworks because of the upgrade treadmill. They hate the constant migrations and dependency churn. That is a real problem, but it is not the biggest one.
There are four pillars why you should move toward the web platform and vanilla JavaScript.
Total Cost of Ownership Framework code depreciates like a car. It loses value every day and needs constant repairs just to stay running. Platform code depreciates like land. The ground does not move. Code written for the browser today will work in 2040 without a rewrite.
The Labor Market If you hire for a specific framework, you hire from a small subset. If you hire for JavaScript, you hire from the entire frontend and backend market. Every framework developer is a JavaScript developer. The reverse is not true. You increase your talent pool by sticking to the language, not the dialect.
AI Leverage AI tools are better at vanilla code. The web platform is stable and well-documented. Frameworks change too fast. AI models often suggest deprecated patterns or old APIs because their training data is stale. Writing platform-native code makes AI-assisted development faster and more reliable.
Better Architecture Frameworks use a central brain to manage everything. If the brain breaks, the whole app dies. Web Components use autonomous cells. Each part owns its own state. This makes changes safer and prevents one small bug from crashing your entire interface.
How to move without risk: Do not do a big-bang rewrite. Use the strangler pattern.
- Freeze your current framework version.
- Build all new features as Web Components.
- Convert old components one by one during regular feature work.
- Remove the framework shell only when it is no longer needed.
This approach is a two-way door. You can pause at any time and still be better off than when you started.
Optimize for the full life of your app, not just the next quarter.
Source: https://dev.to/sebs/frameworks-rot-the-platform-doesnt-58g0
Optional learning community: https://t.me/GyaanSetuAi