CST438-40_2263 Week 2

During week 2 we covered react. React is pretty cool, it updates only what is changed instead of reloading the whole page which I like. I learned more about useState to change a variable that re-renders the changes I made. 

I learned more about props and how they pass data from a parent component to children. An example would be OrderHistory passing into EditOrder. And on top of that useContext makes passing props through components easy by giving global scope. 

All of this connected to the Spring Server in the backend through fetch calls utilizing JWT tokens that we have in the Auth header from lab 1. Overall, this was an educational lab. I enjoyed learning more about react.

Comments

Popular Posts