Changed post list resize code to use react state; fixed various eslint warnings
Changed post list resize code to use react state; fixed various eslint warnings

mozilla/mattermoz,ninja-/platform,rgarmsen2295/platform,tbolon/platform,42wim/platform,andela/mattermost-platform,rahulltkr/platform,daizenberg/platform,bkeroack/platform,kernicPanel/platform,npcode/platform,daizenberg/platform,cadecairos/mattermoz,cadecairos/mattermoz,trashcan/platform,samogot/platform,bkeroack/platform,rgarmsen2295/platform,ttyniwa/platform,dimitertodorov/platform,ZBoxApp/platform,dimitertodorov/platform,raghavenc5/TabGen,trashcan/platform,tbolon/platform,rahulltkr/platform,mozilla/mattermoz,trashcan/platform,cyanlime/platform,rahulltkr/platform,rahulltkr/platform,raghavenc5/TabGen,42wim/platform,npcode/platform,asaadmahmoodspin/platform,raghavenc5/TabGen,npcode/platform,kernicPanel/platform,ZBoxApp/platform,bkeroack/platform,rgarmsen2295/platform,dotcominternet/platform,rompic/platform,ttyniwa/platform,andela/mattermost-platform,asaadmahmoodspin/platform,lawrenae/mattermost,tbalthazar/platform,bkeroack/platform,raghavenc5/TabGen,numericube/platform,kernicPanel/platform,npcode/platform,bkeroack/platform,fosstp/platform,42wim/platform,dimitertodorov/platform,cyanlime/platform,tbolon/platform,lawrenae/mattermost,ttyniwa/platform,mozilla/mattermoz,cadecairos/mattermoz,StateFarmIns/mattermost,StateFarmIns/mattermost,cadecairos/mattermoz,ninja-/platform,fosstp/platform,kernicPanel/platform,dotcominternet/platform,rgarmsen2295/platform,dotcominternet/platform,andela/mattermost-platform,lawrenae/mattermost,trashcan/platform,ttyniwa/platform,ninja-/platform,ZBoxApp/platform,ninja-/platform,tbalthazar/platform,StateFarmIns/mattermost,florianorben/platform,tbolon/platform,florianorben/platform,kernicPanel/platform,ttyniwa/platform,mozilla/mattermoz,asaadmahmoodspin/platform,npcode/platform,StateFarmIns/mattermost,tbolon/platform,ZBoxApp/platform,cadecairos/mattermoz,andela/mattermost-platform,samogot/platform,rgarmsen2295/platform,lawrenae/mattermost,florianorben/platform,raghavenc5/TabGen,ninja-/platform,dotcominternet/platform,daizenberg/platform,fosstp/platform,rompic/platform,florianorben/platform,tbalthazar/platform,ZBoxApp/platform,cyanlime/platform,cyanlime/platform,trashcan/platform,lawrenae/mattermost,StateFarmIns/mattermost,samogot/platform,mozilla/mattermoz,fosstp/platform,andela/mattermost-platform,florianorben/platform,numericube/platform,rompic/platform,numericube/platform