Skip to content

Latest commit

 

History

History
49 lines (37 loc) · 1.77 KB

README.md

File metadata and controls

49 lines (37 loc) · 1.77 KB

React + TypeScript + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

Expanding the ESLint configuration

If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:

  • Configure the top-level parserOptions property like this:
export default {
  // other rules...
  parserOptions: {
    ecmaVersion: 'latest',
    sourceType: 'module',
    project: ['./tsconfig.json', './tsconfig.node.json'],
    tsconfigRootDir: __dirname,
  },
}
  • Replace plugin:@typescript-eslint/recommended to plugin:@typescript-eslint/recommended-type-checked or plugin:@typescript-eslint/strict-type-checked
  • Optionally add plugin:@typescript-eslint/stylistic-type-checked
  • Install eslint-plugin-react and add plugin:react/recommended & plugin:react/jsx-runtime to the extends list

Outcomes of this project

  • Applied TypeSript in React.
  • Explored using React form components in TypeScript.
  • Implemented TypeScript generic type function.
  • Experienced using union componennt.
  • Understood how React props works.

Running the Project Locally

  1. Clone the repository. git clone https://github.com/ainmutaqorrobin/TodoGoalList.git
  2. Navigate to the project directory. cd TodoGoalList
  3. Install dependencies. npm install
  4. Start the development server. npm run dev