Telerik blogs
  • Web React

    Maps in React

    ReactT Light_270x123
    Knowing the similarities and differences between Google Maps and MapBox within a React app will help you pick the right tool for the job. This article compares and contrasts these two popular libraries, getting you up and running with whichever one you choose.
    August 20, 2019
  • Web React

    Mocking and Testing GraphQL in React

    JavaScriptT Light_270x123
    Having fast and consistent results is vital to testing effectively. Working with and testing your React components that use GraphQL queries is no exception. In this article, we'll explore both static and dynamic mocking options.
  • Web

    IndexedDB—A Database in the Browser (Part 2)

    JavascriptD_270
    When localStorage and cookies reach their limits, when their thread blocking nature slow your app down, it's time to reach for IndexDB. But why live with the low-level API that can be clumsy to get the hang of? Reach for PouchDB and start taking advantage of this asynchronous, performant browser storage today.
  • Web

    Storage Options in the Browser (Part 1)

    JavascriptD_270
    Should you use localStorage or cookies to store your authentication token? What are the tradeoffs to each approach and how can you tie them all together? Did you know that localStorage can even be used to synchronize logout across multiple tabs?
  • Web

    Converting Callbacks to Promises

    JavaScript
    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