Skip to content

React application to practice the usage of Props and States.

Notifications You must be signed in to change notification settings

malcolmrichardson/react-hello-world

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

react-hello-world

React application to practice the usage of Props and States.

Major Takeaways:

  1. "States" are private and can be changed from within a component.
  2. "Props" are external, and not controlled by a component itself. They are passed down from components higher up the hierarchy, who also control the data.
  3. A component can change its internal states directly. It cannot change its props directly.

Language(s):

  • HTML
  • JavaScript

Libraries:

  • React

Installation/Setup

Run the below commands in your terminal / command line:

cd ...
git clone https://github.com/malcolmrichardson/react-hello-world.git
cd react-hello-world

Usage

Open index.html in your browser of choice. Enjoy and thank you!

Screenshots/Images:

Screen Shot 2022-06-05 at 5 49 26 PM

Screen Shot 2022-06-05 at 5 49 32 PM

About

React application to practice the usage of Props and States.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages