state vs props react stackoverflow code example Example: differecne between reaching state and prop Difference between props and state