Facebook released its first browser API for Chrome

According to a recent blog-post by Facebook, the social media company has launched its first major API for Google Chrome browser. The social networking giant has taken this initiative to make user experience smoother and faster. The browser API will curb the time between the click and the browser reacting to that.

In the language of computer programming, API is a set of functions and procedures that supports the creation of applications which later access features or data that is part of an operating system (OS), application or other service.

“We are excited to share that the ‘Chrome 74’ release will include the origin trial for our ‘isInputPending’ API. We hope to take developer feedback from this trial and use it to make the case for fully shipping the API,” Nate Schloss and Andrew Comminos, software engineers at Facebook wrote in a blog-post on Monday.

By bringing its own API to the Google Chrome browser, the social media company set a new example of developing web standards at the company.

“The process of bringing isInputPending to Chrome represents a new method of developing web standards at Facebook,” the team says. “We hope to continue driving new APIs and to ramp up our contributions to open source web browsers. Down the road, we could potentially build this API directly into React’s concurrent mode so developers would get the API benefits out of the box. In addition, isInputPending is now part of a larger effort to build scheduling primitives into the web.”

The social media giant would try its new API on Google Chrome available for developers who “are looking to get rid of queuing delays and improve interaction and loading performance”.

Source: TechCrunch