Hack Reactor Intro to React JS Notes

React JS is not a framework but a JS library with a rich community.
-Handling the view (MVC) / user interface
-Puts HTML in JS
-JSX support which produces React "elements"
-Build complex and modern UI's
-Component based structure
-Props: allows you to pass data from parent (wrapping) component
-(Props) Triggers UI to re-render when changed
-State: used to change the component from within rather than by parent / also triggers re-rendering.
-Context API: to avoid props drilling
-Create React App

Comments

Popular posts from this blog

Code Wars: longest_palindrome (6 kyu)

Code Wars: Data Reverse (6 kyu)

Code Wars: Replace With Alphabet Position