Go ProSign in
The Beginner's Guide to React

The Beginner's Guide to React

Autoplay

    Make HTTP Requests with React

    Kent C. DoddsKent C. Dodds
    3:29

    Often to get user data you'll make an AJAX request using axios or the fetch API. In this lesson we'll get a GitHub user's company using GitHub's GraphQL API using React's componentDidMount lifecycle method.

    You must be a Member to view code