CST 438 Week 2

Summarize what you learned about React this week.  In your opinion, what the strengths and weaknesses of React. 


This week I learned about React which is a component based javascript framework. It uses a virtual DOM that updates only the parts of the page that change. I learned how to create stateful components using useState which allows data to update automatically when changed. Also useEffect to fetch data when a component loads. And lastly useRef to reference real DOM elements. 

I also learned how to use Route and Link to navigate between components and different pages. I built forms with registration, logins, and CRUD management.

Some strengths:

React is fast and only updates what changes and the code is reusable so we don't have to keep rewriting, and also its easy to use with tailwind and other tools. 

Some weaknesses: 

It is a bit confusing to learn, at least for me right now (using document.querySelector were a bit easier for me), I get confused between the HTML and javascript sometimes.

Comments

Popular posts from this blog

Week 2 Journal Post

CST 334 Week 7

Week 1: About CSUMB and Online Learning Strategies