Please enable JavaScript.
Coggle requires JavaScript to display documents.
React - Coggle Diagram
React
Section 1
-
-
-
useState
the state system is all about managing data inside of your application, specifically data.
we make use of the state system.
Anytime that we want to get react to somehow update the content on the screen.
-
-
-
-
-
Section 5
Rules of State
-
-
-
-
-
Only usable with class components
Technically we can use state with functional components using the host system
-
State
setState
state is a function that gets put on our app component automatically when
we extended React.component.
-
Section 12
-
CustomHook
useState
Understanding
useState
-
If we want to have multiple pieces of states, we call state multiple times. (unlike class)
when we call to the setActiveIndex the component is going to rerender with the value that we provided in the setActiveIndex
-
-
Section 4
How React use to be
-
-
Most notable difference between class components and functional components is that functional components
did not have access to that lifecycle method system or the state system.
-
-
Section 20
-
React router
-
-
-
-
Types
BrowseRouter
Uses everything after the TLD (com,net) or port as the 'path'
-
-
-
-