Docs: added note about setState() side-effects
Merge pull request #1960 from julen/docs/setState

Docs: added note about setState() side-effects