How to Use React State and Props

Опубликовано: 20 Июнь 2017
на канале: CoderJourney
7,235
51

In this tutorial, you'll go through fixing the test suite/dependency errors from the previous tutorial before digging into React state and props. We'll cover when you should be using props vs. when to use state, and we'll refactor the ChordEditor component to be able to handle any song passed at it. This tutorial sets the ground work for our application to allow users to have a collection of songs that they edit and maintain.

Blog post associated with this video: https://coderjourney.com/tutorials/re...

Code from this tutorial: https://github.com/coderjourney/chord...

Website: https://coderjourney.com
Suggested Resources: https://coderjourney.com/resources
Patreon:   / coderjourney  
Facebook:   / coderjourney  
Twitter:   / coderjourney  

Intro created by Ian Zainea (http://ianzainea.com)

~-~~-~~~-~~-~
Please watch: "How to Write Better Automated Tests"
   • How to Write Better Automated Tests  
~-~~-~~~-~~-~