Telerik blogs
  • Web

    Converting Callbacks to Promises

    With promises, we get the ability to use async/await — syntax that can convert nested, hard-to-read functions into straightforward and easy-to-digest code. Let's take a look at how we can convert our own legacy code or other browser APIs such as geolocation, which still rely on callbacks, into Promise-ready functions.
    March 15, 2019
  • Web React

    TypeScript and React, BFF

    TypeScript and React are an increasingly common pair. Learn how to get up and running with TypeScript for your next React project.
    February 28, 2019
  • Web

    Managing State in GraphQL Using Apollo Link State

    GraphQL isn't just a way to communicate with remote APIs—it is a data query and manipulation language for data in general. Apollo Link State gives you the ability to manage your local state by performing queries and mutations. This provides a single interface to all of your data, both local and remote, avoiding the need to include another state management library such as Redux or MobX in your app.
    January 04, 2019
  • Web React

    GraphQL in React with Apollo

    GraphQL APIs are the future, but how do you get started and use them right now in your React app? This is easily done using the Apollo library, which can be configured quickly using Apollo Boost, or with more fine-grained control using Apollo Client along with Apollo Link. In this article, we'll show how to fully integrate Apollo into your React app from setting up the client to executing a query and displaying its results.
    January 02, 2019