DEV Community

Discussion on: Discussion: Where is Blazor a better option than React, Angular or any JavaScript library or framework?

Collapse
 
rasheedmozaffar profile image
Rasheed K Mozaffar

For many people, they believe Blazor is no better or even on the same level as JavaScript frameworks, and in my opinion that holds true (partially) for a few reasons:

  • Js is more beginner friendly and much more of a starter language to begin with

  • Js been there for decades now while Blazor is still relatively new

  • And most importantly, the abundance of existing Js libraries that solve tons of things.

For me personally, I've learned C# last year and been using it since then, I've used MVC and Web Api and when I first used Blazor, I was shocked by how easy it is to just shift and make use of my existing C# knowledge in Blazor, like the transition between the project types felt exceptionally seamless, and overtime we can see the framework is growing rapidly with constant and drastic updates ruling out every year, the future for Blazor is bright for sure, besides its simple learning curve, good documentation, there's plenty to consider.
Before the framework was mature, there was sorta lack of flexibility, you would need decent amounts of Js to get things done, but now in 2023 it's so different, many things are easily achievable in Blazor right now, and when the case requires Js, Js Interop is more than lovely and simple to use to get the job done.
So my final take would be, Blazor is a solid option for all the project types you listed above, and I don't think any existing .NET developer would need to make a switch to a Js SPA framework to make incredible projects.

Collapse
 
mteheran profile image
Miguel Teheran

Good comment. I agree with you about Blazor as a mature framework now. it is too easy to use and it has many features.
Regarding JavaScript libraries that's true there are many utilities that we can reuse in our projects and save time but We need to also highlight that we can use nuget libraries in Blazor and there are many of them that we can use in the backend and the frontend side at the same time.