JimmyLv / JimmyLv/reading

Update state asynchronously in React using Promise and setState()

Open
#1,767 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
26
Forks
2
PR merge metrics
No merged PRs in 30d

Description

## Update state asynchronously in React using Promise and setState()

In this lesson we will look at updating state in React based on the successful resolution of a promise making use of Promise.prototype.then . We will perform a…



January 17, 2018 at 09:21PM

via Instapaper https://egghead.io/lessons/react-update-state-asynchronously-in-react-using-promise-and-setstate

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.