Lift State Up in React.js with Hooks (2020)

Channel:
Subscribers:
296,000
Published on ● Video Link: https://www.youtube.com/watch?v=HF4o9KAZNxw



Duration: 5:58
11,774 views
218


Download the PDF front-end roadmap for FREE to keep you on track!
https://codestackr.podia.com/front-end-web-developer-roadmap-2020

Lift State Up in React.js with Hooks (2020)

In React, often there will be several components that need to reflect the same changing data. One way to do this effectively is by lifting the shared state up to their closest common ancestor.

In this video, we will create a temperature calculator that calculates whether water would boil at a given temperature. There will be two inputs that will need to share the application state. We will use hooks in React.js to lift the state up so that it can be the "single source of truth".

Full code example: https://codepen.io/codeSTACKr/pen/gOayRBK
_____________________________________

๐Ÿ“š Learn to CODE in just a FEW months here:
Treehouse Discount Code: https://treehouse.7eer.net/codeSTACKr
_____________________________________

๐Ÿ› ๏ธ Tools I use:
๐ŸŸ  Theme: https://marketplace.visualstudio.com/items?itemName=codestackr.codestackr-theme
๐ŸŸ  Font: STACKr Code (Exclusive to my VS Code Course - https://vsCodeHero.com)
๐ŸŸ  SuperHero Extension Pack: https://marketplace.visualstudio.com/items?itemName=codeSTACKr.superhero-extensions

๐Ÿšข Deploy for FREE on Vercel: https://vercel.com/ambassadors/codestackr
_____________________________________

๐Ÿ’– Show support!
PayPal: https://paypal.me/codeSTACKr
_____________________________________

Watch Next:
Web Development - Beginners Roadmap (2020) - https://youtu.be/iogabydg2y0
Playlist: Web Development For Beginners - https://www.youtube.com/watch?v=Ez4yHS2dsN8&list=PLkwxH9e_vrAJ0WbEsFA9W3I1W-g_BTsbt
_____________________________________

Connect With Me:
Website: http://www.codestackr.com
Twitter: https://twitter.com/codeSTACKr
Instagram: https://instagram.com/codeSTACKr/
Facebook: https://facebook.com/codeSTACKr
_____________________________________

** Affiliate Disclaimer: Some of the above links may be affiliate links, which may generate me a sales commission at no additional cost to you.

#codeSTACKr #Reactjs #React




Other Videos By codeSTACKr


2020-07-10Dark/Light Mode Theme Toggle (CSS/Basic JavaScript) | UI Design
2020-07-07Limited Offer! The Frontend Developer Career Path (@Scrimba)
2020-07-06User-Defined Dark/Light Mode (CSS ONLY) | UI Design Theme (prefers-color-scheme)
2020-07-03Simple Dark/Light Mode Theme Toggle (CSS ONLY) | UI Design
2020-06-265 Steps to THINK in React and Easily Create a ReactJS App From Scratch! (Bonus: Tailwind CSS)
2020-06-20How To Change CSS Values With A Slider! - CSS Custom Properties (Variables) & JavaScript
2020-06-13Microinteractions: Awesome Password Validation Animation
2020-06-05Developer Survey 2020 - Check Out These Shocking Results! (Stack Overflow)
2020-06-03Notion + YouTube - A Powerful Combination for Productivity
2020-05-29How to use Regular Expressions (RegEx) in JavaScript | Tutorial in UNDER 20 Minutes (2020)
2020-05-26Lift State Up in React.js with Hooks (2020)
2020-05-22Dealing with Impostor Syndrome (You Are Good Enough!)
2020-05-20Best Programming Tutorial Ever! {Funny}
2020-05-19React Forms Explained Easy (2020) - Reactjs
2020-05-16Ask Me Anything (AMA) - Casual Live Stream To Answer Community Questions
2020-05-15Deno 1.0 Released! (Easy) REST API Tutorial Using Oak
2020-05-12Deno: Node.js Killer? Introduction & Tutorial | From Creator Ryan Dahl | TypeScript/JS
2020-05-08React.js | Complete Build | Tic Tac Toe Game with Hooks (2020)
2020-05-05React Lists and Keys | A Simple Explanation - MicroBytes 2020
2020-05-01Sass Module System Update 2020 | SCSS import Deprecation
2020-04-28React Conditional Rendering - MicroBytes 2020



Tags:
react js
react js tutorial
react tutorial
lifting state up react.js
lifting state reactjs
lifting state up reactjs
reactjs lifting state
reactjs lifting state up
lifting state up react js
learn reactjs
reactjs basics
react course
reactjs tutorial for beginners
react js project
react js crash course