Robsondj / ReactTypescript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React Typescript

This project is a study about React with Typescript.

The application was developed during a alura course and allows to add tasks and manage the time of each task.

Runing

Installing dependencies

`yarn` or `npm install`

Runing the project

`yarn start` or `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.

Runing tests

`yarn test` or `npm test`

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

Making Build

`yarn run build` or `npm run build`

React Lifecycle

useLayoutEffect(() => { … },[]) -> componentWillMount

useEffect(() => { … }, []) -> componentDidMount

useEffect(() => { … }, [variavel]) -> componentWilLUpdate

useEffect(() => { return () => { … } },[]) -> componentWilLUnmount

About


Languages

Language:TypeScript 61.5%Language:SCSS 25.2%Language:CSS 8.3%Language:HTML 5.0%