An open API service indexing awesome lists of open source software.

https://github.com/trantuvan/odin-cv-project-hook

odin-cv-project-hook
https://github.com/trantuvan/odin-cv-project-hook

cssmodules hooks-api-react

Last synced: about 2 months ago
JSON representation

odin-cv-project-hook

Awesome Lists containing this project

README

          

# odin-cv-project-hook

## What is this about?

This toy project is a reinforcement to React hooks and compositional components as the step up after [Odin-cv-project-class-component](https://github.com/Trantuvan/odin-cv-project)
The design of the project is to showcase the understanding of concepts below:

- useState
- useContext
- useReducer
- CSS modules

The aim of this app is to build your simple and minimalist resume!

#### Note

- This project will not support for responsive but [Odin-cv-project-class-component](https://github.com/Trantuvan/odin-cv-project) does.
- For this small project useState is enough (no need for `useContext` & `useReducer`)
- Compositional components and lifting state up are the goto techniques for most apps state management

# Getting Started with Vite

## Available Scripts

In the project directory, you can run:

### `npm run dev`

Runs the app in the development mode.\
Open [http://localhost:3000](http://localhost:3000) to view it in your browser.

The page will reload when you make changes.\
You may also see any lint errors in the console.

### `npm run build`

Builds the app for production to the `dist` 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!

### `npm run deploy`

Deploy the app using github-pages as a free host services.