Skip to content
This repository was archived by the owner on Apr 2, 2026. It is now read-only.

PC-FEE-Spring-2018/React-Like-Button

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

Repository files navigation

Build a like button with React

Description

Using React, build a like button component. The button should keep track of how many times it has been clicked and update its count each time it is clicked, and should be reusable anywhere on the page.

Objectives

Learning Objectives

After completing this assignment, you should...

  • Understand how React state works.
  • Understand how to build out React events.

Normal Mode

  • Replicate the following behavior using React.
  • The count on the button should increase upon click
  • The text on the like button should correctly pluralize itself. For example: 0 likes, 1 like, 2 likes ...

Example

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors