Use ES6 module instead of commonJS (#10953)
Use ES6 module instead of commonJS (#10953)

* Use ES6 module instead of commonJS

As far as I know, we're using ES6 modules throughout the docs. For the sake of consistency :)

* Convert all CommonJS requires to ES6 module

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