View Code? Open in Web Editor
NEW
This project forked from codefellows-seattle-javascript-401d18/21-react-tooling
21-react-tooling's Introduction
21: React Tooling - Cowsay Browser
- 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
- 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
README.md
.gitignore
.eslintrc
.babelrc
package.json
webpack.config.js
src/**
src/main.js
src/index.html
src/style
src/style/main.scss
- create the following component:
- 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
- write a brief description of your project in
README.md
- add a select menu that enables you to change the type of cowfile currently being used
21-react-tooling's People
Contributors
Watchers