So props are input to a component. You can not modify values stored in props, only read them. This is why the pattern you will see is reading data from props ...
確定! 回上一頁