home-hero

Frequently Asked
Questions

Will Blazor replace JavaScript?

As of this moment, the answer is no, it will not. Blazor is an alternative to JavaScript but not yet a complete one.

Blazor supports many of the standard browser features you’ve grown accustomed to and which are used in modern web apps but not all. In cases where Blazor does not support a feature, some small amount of JavaScript code may be necessary in order to achieve the requirements of your web app. One such feature are Geolocation services – if you want to detect the location of your user and make suggestions for products and services around them, you will need to interop with JavaScript.

Whether Blazor will one day be able to completely replace JavaScript is yet to be seen, but even today it’s close to that. Blazor is already giving popular JavaScript frameworks stiff competition and it will only get stiffer.

Learn more about how Blazor and JavaScript interoperate in our blog post.