CST 438 - Week 2
This week our course focused on React, which is a web development framework. In general React uses components to build web pages - these components store and manage data using a state. React uses DOM updates to improve performance; the aforementioned components create a virtual copy of the DOM. The React Router allows you to switch between different web pages without having to reload the entire page, allowing for a better webpage flow and an application that runs faster and smoother. Some of the tools used by react include useEffect, useContext, and use Ref. useEffect can run code when the web page loads or when something changes. useContext is usedwhen share information with different parts of your application. useRef is used to call functions on the real DOM elements, allowing you to work directly with the page elements. Overall, React provides a way to build web pages in a more organized and streamlined way.
Comments
Post a Comment