Skip to content

JohnScarrow/21-react-tooling

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cf 21: React Tooling

Submission Instructions

  • fork this repository & create a new branch for your work
  • write all of your code in a directory named lab- + <your name> e.g. lab-susan
  • push to your repository
  • submit a pull request to this repository
  • submit a link to your PR in canvas
  • write a question and observation on canvas

Learning Objectives

  • students will be able to configure webpack.js to build a web application bundle
  • students will be able to configure babel to transpile JSX and ES6 to ES5 JavaScript
  • students will be able to create and render React components to the DOM
  • students will be able to add event listeners to React components
  • students will be able to update React component state

Requirements

Configuration

  • README.md
  • .gitignore
  • .eslintrc
  • .babelrc
  • package.json
  • webpack.config.js
  • src/**
    • src/main.js
    • src/style
    • src/style/main.scss

Feature Tasks

  • create the following component:
App
  • should contain the entire application's view and state
  • should have a property on the state called content
  • should create a view with the following display
    • a heading with the title "Generate Cowsay Lorem"
    • a button that displays "click me"
      • onClick the button should generate new content on the app state using cowsay and faker
    • a pre tag that displays the app's state's content

Documentation

  • write a brief description of your project in README.md

Bonus 1pt

  • add a select menu that enables you to change the type of cowfile currently being used

About

21 - React Tooling

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 87.1%
  • HTML 8.3%
  • CSS 4.6%