Docs: Clarification of setState() behavior (#9329)
Docs: Clarification of setState() behavior (#9329)

* Clarification of setState() behavior

`setState()` is a frequent source of confusion for people new to React, and I believe part of that is due to minimization of the impact of the asynchronous behavior of `setState()` in the documentation. This revision is an attempt to clarify that behavior. For motivation and justification, see [setState Gate](https://medium.com/javascript-scene/setstate-gate-abc10a9b2d82).

* Update reference-react-component.md

* Signature fix

* Update to address @acdlite concerns

* Add more details

jquense/react,glenjamin/react,mosoft521/react,tomocchino/react,jquense/react,jdlehman/react,yangshun/react,VioletLife/react,aickin/react,STRML/react,trueadm/react,dilidili/react,yangshun/react,ericyang321/react,jzmq/react,wmydz1/react,edvinerikson/react,jzmq/react,jzmq/react,leexiaosi/react,pyitphyoaung/react,joecritch/react,maxschmeling/react,terminatorheart/react,jquense/react,billfeller/react,krasimir/react,aickin/react,jzmq/react,billfeller/react,edvinerikson/react,billfeller/react,yangshun/react,maxschmeling/react,silvestrijonathan/react,leexiaosi/react,roth1002/react,flipactual/react,nhunzaker/react,jordanpapaleo/react,AlmeroSteyn/react,edvinerikson/react,yungsters/react,flarnie/react,chicoxyzzy/react,jquense/react,pyitphyoaung/react,empyrical/react,acdlite/react,chenglou/react,flarnie/react,TheBlasfem/react,mjackson/react,roth1002/react,jdlehman/react,joecritch/react,mjackson/react,acdlite/react,prometheansacrifice/react,Simek/react,rickbeerendonk/react,VioletLife/react,joecritch/react,jquense/react,jdlehman/react,kaushik94/react,anushreesubramani/react,empyrical/react,jdlehman/react,TheBlasfem/react,rricard/react,terminatorheart/react,quip/react,mhhegazy/react,jameszhan/react,nhunzaker/react,empyrical/react,roth1002/react,jordanpapaleo/react,maxschmeling/react,anushreesubramani/react,quip/react,flarnie/react,apaatsio/react,AlmeroSteyn/react,mjackson/react,maxschmeling/react,prometheansacrifice/react,krasimir/react,ericyang321/react,mhhegazy/react,jquense/react,silvestrijonathan/react,apaatsio/react,dilidili/react,rricard/react,terminatorheart/react,quip/react,Simek/react,camsong/react,mhhegazy/react,maxschmeling/react,jameszhan/react,dilidili/react,pyitphyoaung/react,edvinerikson/react,silvestrijonathan/react,tomocchino/react,maxschmeling/react,nhunzaker/react,AlmeroSteyn/react,pyitphyoaung/react,jordanpapaleo/react,wmydz1/react,brigand/react,kaushik94/react,nhunzaker/react,yangshun/react,STRML/react,apaatsio/react,VioletLife/react,yungsters/react,chenglou/react,cpojer/react,rricard/react,aickin/react,camsong/react,terminatorheart/react,chicoxyzzy/react,yungsters/react,trueadm/react,jorrit/react,facebook/react,syranide/react,jorrit/react,ericyang321/react,VioletLife/react,camsong/react,rickbeerendonk/react,brigand/react,anushreesubramani/react,glenjamin/react,camsong/react,chicoxyzzy/react,acdlite/react,quip/react,yiminghe/react,wmydz1/react,TheBlasfem/react,acdlite/react,yiminghe/react,jdlehman/react,jzmq/react,glenjamin/react,jameszhan/react,anushreesubramani/react,STRML/react,camsong/react,facebook/react,chenglou/react,jorrit/react,facebook/react,aickin/react,aickin/react,facebook/react,trueadm/react,facebook/react,prometheansacrifice/react,flarnie/react,cpojer/react,apaatsio/react,dilidili/react,cpojer/react,AlmeroSteyn/react,prometheansacrifice/react,jameszhan/react,roth1002/react,tomocchino/react,brigand/react,syranide/react,aickin/react,VioletLife/react,jordanpapaleo/react,aickin/react,yungsters/react,empyrical/react,prometheansacrifice/react,ericyang321/react,glenjamin/react,kaushik94/react,ArunTesco/react,krasimir/react,glenjamin/react,STRML/react,TheBlasfem/react,Simek/react,terminatorheart/react,STRML/react,roth1002/react,billfeller/react,nhunzaker/react,jameszhan/react,VioletLife/react,prometheansacrifice/react,trueadm/react,tomocchino/react,empyrical/react,acdlite/react,pyitphyoaung/react,prometheansacrifice/react,joecritch/react,TheBlasfem/react,STRML/react,jorrit/react,dilidili/react,chenglou/react,brigand/react,kaushik94/react,wmydz1/react,TheBlasfem/react,jameszhan/react,anushreesubramani/react,mhhegazy/react,krasimir/react,silvestrijonathan/react,STRML/react,quip/react,mosoft521/react,flarnie/react,pyitphyoaung/react,mhhegazy/react,mhhegazy/react,rickbeerendonk/react,krasimir/react,mjackson/react,mosoft521/react,chenglou/react,yiminghe/react,quip/react,yiminghe/react,yiminghe/react,leexiaosi/react,tomocchino/react,wmydz1/react,chenglou/react,yungsters/react,anushreesubramani/react,jorrit/react,wmydz1/react,chenglou/react,camsong/react,syranide/react,jzmq/react,apaatsio/react,jorrit/react,brigand/react,edvinerikson/react,ericyang321/react,cpojer/react,chicoxyzzy/react,yungsters/react,brigand/react,maxschmeling/react,empyrical/react,roth1002/react,pyitphyoaung/react,yangshun/react,kaushik94/react,cpojer/react,jquense/react,Simek/react,acdlite/react,quip/react,AlmeroSteyn/react,dilidili/react,glenjamin/react,mjackson/react,mjackson/react,trueadm/react,brigand/react,kaushik94/react,kaushik94/react,terminatorheart/react,facebook/react,krasimir/react,chicoxyzzy/react,chicoxyzzy/react,VioletLife/react,dilidili/react,flarnie/react,apaatsio/react,cpojer/react,empyrical/react,anushreesubramani/react,yungsters/react,flipactual/react,cpojer/react,mosoft521/react,ArunTesco/react,nhunzaker/react,rickbeerendonk/react,yiminghe/react,edvinerikson/react,ericyang321/react,jdlehman/react,trueadm/react,silvestrijonathan/react,rricard/react,apaatsio/react,glenjamin/react,jordanpapaleo/react,yangshun/react,jordanpapaleo/react,rricard/react,ArunTesco/react,mjackson/react,mosoft521/react,wmydz1/react,tomocchino/react,facebook/react,chicoxyzzy/react,jordanpapaleo/react,rickbeerendonk/react,flarnie/react,acdlite/react,jdlehman/react,billfeller/react,jameszhan/react,mosoft521/react,jorrit/react,flipactual/react,mhhegazy/react,krasimir/react,billfeller/react,tomocchino/react,rickbeerendonk/react,mosoft521/react,Simek/react,edvinerikson/react,AlmeroSteyn/react,silvestrijonathan/react,syranide/react,nhunzaker/react,trueadm/react,joecritch/react,joecritch/react,yiminghe/react,jzmq/react,Simek/react,silvestrijonathan/react,Simek/react,yangshun/react,AlmeroSteyn/react,camsong/react,ericyang321/react,joecritch/react,roth1002/react,rickbeerendonk/react,rricard/react,billfeller/react