state and props difference in react js code example Example: differecne between reaching state and prop Difference between props and state