fix(Doc): review of setState and viewattr