Microsoft Windows 10 API Update
Microsoft Windows 10 API Update

At long last, Microsoft Edge will finally support Edge HTML14 and Fetch APIs as a part of their Windows 10 Anniversary Update, according to Athima Chansanchai. This is huge for developers looking to code on the new software.

In a blog released today by the Microsoft News Center Staff, developers finally learned that they’ll be able to start using XMLHttpRequest (XHR) on Microsoft Edge, expected to dramatically reduce the time that it takes to effectively code a website. If you’re not familiar with the term, it was first popularized in Internet Explorer 5, and is now considered one of the most foremost building blocks of new internet design. These shortcuts greatly reduce the collaborative effort of creating lists of resources, recoding CORS, and handling redirect coding across your web platforms.

The New Fetch XHR Extends Compatibility

Rather than rebuilding an API from the ground up, Google opted to avoid ad-hoc additions that would have eventually been overwritten. Instead, they started over, providing users a more primitive approach to requests, responses, and extension of an API that helps developers have the leverage that they need, through several key functions:

Slimming of Your Coding Needs

One of the best features of Fetch is simply that it takes less to do more. You can take advantage of promise-chaining codes rather than performing callbacks that take hours of your time to complete. According to Microsoft devs, Fetch APIs keep “modern coding patterns in mind, along with sleek new interfaces.”

More Streaming of Data Information With Less Work

This new software allows programmers to buffer data as it’s received, saving a ton of time. Plus, Fetch API give users the ability to access the actual data (in bytes) when it’s streaming, rather than just the data provided by XHR.

Higher Future-Proofing Value

According to Windows, Fetch is the way of the future, and therefore Windows is laying out groundwork to make it so. Users might be running browsers that aren’t automatically compatible with Fetch, but developers can still enhance experiences for those who do support Fetch.

You can try out a preview of the Fetch API functionalities at the Windows Insider Program (but you’ll have to have build 14342 or higher to run the program).

LEAVE A REPLY
Please enter your comment!
Please enter your name here