Skip to content

Tip hat at proper setState to remain consistent - #2131

Open
GantMan wants to merge 1 commit into
reactjs:mainfrom
GantMan:patch-1
Open

Tip hat at proper setState to remain consistent#2131
GantMan wants to merge 1 commit into
reactjs:mainfrom
GantMan:patch-1

Conversation

@GantMan

@GantMan GantMan commented Jul 7, 2019

Copy link
Copy Markdown
Contributor

the setState example accesses state, which makes race conditions. While keeping it simple is key, it's worth noting that this would be incorrect outside of a simple example.

image

the setState example accesses state, which makes race conditions.  While keeping it simple is key, it's worth noting that this would be incorrect outside of a simple example.
@reactjs-bot

Copy link
Copy Markdown

Deploy preview for reactjs ready!

Built with commit b729071

https://deploy-preview-2131--reactjs.netlify.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants