Skip to content

MilsonCodes/get-some-react-in-your-blood

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project was bootstrapped with Create React App.

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

Challenge

Fork this project and continue

0) Project structure
  • src should contain components, containers and utils.
  • a component is a fully reusable react class or functional component.
  • a container has multiple components and it's usually not reusable.
  • every directories must be in kebab-case
  • every folder must have an index.js
  • if a folder must contain another component, file naming must be in PascalCase.js
1) create a login form with react.
  • create Input as a component which gets type and onChange function callback from props, and keeps current value of the input in state. (to learn more about state and props check out props-docs and state-and-lifecycles)

Note: login page is a container, while form and input are components.

  • after user hitting submit button should navigate to home page. use react-router for routing.

Note: for install npm package use npm install <package> or yarn add <package>

This challenge has more steps.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published