Live site! https://spacex-reactjs.herokuapp.com/
- Create a forked copy of this project.
- Add your team lead as collaborator on Github.
- Clone your OWN version of the repository in your terminal.
- CD into the project base directory
cd SpaceX_launch_React
. - Download project dependencies by running
npm install
. - Start up the app using
npm start
. - Create a new branch: git checkout -b
<firstName-lastName>
. - Implement the project on your newly created
<firstName-lastName>
branch, committing changes regularly. - Push commits: git push origin
<firstName-lastName>
.
In the project directory, you can run:
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.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
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!
See the section about deployment for more information.
- Reactjs
- Create-react-app boilerplate for rendering
- Styled-components for styling
- Jest for testing React Components
- Express for server-side-rendering.
- React Hooks , useState , useEffect...
Hooks are a new addition in React environment. They let you use state and other React features without writing a class. Hooks are the functions which "hook into" React state and lifecycle features from function components. By using useEffect Hook, you tell React that your component needs to do something after render. React will remember the function you passed (we'll refer to it as our “effect”), and call it later after performing the DOM updates.