Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/chinsun9/go-home-time

๐Ÿ  get off work
https://github.com/chinsun9/go-home-time

pwa react redux typescript

Last synced: 12 days ago
JSON representation

๐Ÿ  get off work

Awesome Lists containing this project

README

        

# go home time

- typescript react๋กœ ๋งŒ๋“ค์–ด๋ณธ ํ‡ด๊ทผ์‹œ๊ฐ„ ๊ณ„์‚ฐ๊ธฐ

## ๋ฐ๋ชจ

- [github-pages](https://chinsun9.github.io/go-home-time/)

[![์‹œ์—ฐ์˜์ƒ](https://img.youtube.com/vi/GYJGwfwHE2A/0.jpg)](https://www.youtube.com/watch?v=GYJGwfwHE2A)

## ๊ธฐ๋Šฅ

### ๋ฉ”์ธ ํŽ˜์ด์ง€

- ๋ชฉํ‘œ ์‹œ๊ฐ๊นŒ์ง€ ๋‚จ์€ ์‹œ๊ฐ„ ๊ณ„์‚ฐ
- url param์„ ํ†ตํ•ด ๋ชฉํ‘œ ์‹œ๊ฐ ์„ธํŒ…
- ๋ชฉํ‘œ ์‹œ๊ฐ์ด ์ง€๋‚˜๋ฉด ํ‡ด๊ทผํ•˜๋ผ๋Š” ๋ฉ”์‹œ์ง€๋ฅผ ๋›ฐ์›€

### start/n ํŽ˜์ด์ง€

- ์ถœ๊ทผํ•œ ์‹œ๊ฐ„์œผ๋กœ๋ถ€ํ„ฐ n์‹œ๊ฐ„ ํ›„ ํ‡ด๊ทผ ์‹œ๊ฐ„ ์•Œ๋ฆผ
- https://chinsun9.github.io/go-home-time/start/9

### about ํŽ˜์ด์ง€

- ๋งํฌ ๊ณต์œ  ๊ธฐ๋Šฅ
- ํ‡ด๊ทผ ์‹œ๊ฐ„ ์„ค์ • ๊ธฐ๋Šฅ
- ์ž๋™ ํด๋ฆฝ๋ณด๋“œ ๋ณต์‚ฌ

## ๊นƒํ—ˆ๋ธŒ ํŽ˜์ด์ง€ spa ์„ธํŒ…

- https://iamsjy17.github.io/react/2018/11/04/githubpage-SPA.html
- ์›๋ฆฌ. 404ํŽ˜์ด์ง€์— ์Šคํฌ๋ฆฝํŠธ๋ฅผ ๋‘๊ณ  indexํŽ˜์ด์ง€๋กœ url ํŒŒ๋ผ๋งคํ„ฐ๋กœ ๋„˜๊น€

## ๋ฐฐ๊ฒฝ์ด๋ฏธ์ง€

- https://unsplash.com/photos/WVIkqpoKz1I
- Photo by @swayte on Unsplash

## project setup command

```js
// cra(ts), eslint, prettier, airbnb style

// redux
yarn add redux react-redux @types/react-redux

// typesafe-actions
yarn add typesafe-actions

// gsap
yarn add gsap

// react-router-dom
yarn add react-router-dom
yarn add @types/react-router-dom

// moment
yarn add moment

// gh-pages
yarn add gh-pages
```

## ํ•ด๊ฒฐํ•œ ๋ฌธ์ œ๋“ค

### gsap ์ ์šฉ์•ˆ๋จ

- https://github.com/greensock/GSAP/issues/285#issuecomment-433729632

```tsx Share.tsx
import { Power3, TimelineLite } from 'gsap';
import CSSPlugin from 'gsap/CSSPlugin'; // ์ถ”๊ฐ€

// eslint-disable-next-line @typescript-eslint/no-unused-vars
const C = CSSPlugin; // ์ถ”๊ฐ€
```

- ๋กœ์ปฌ์—์„œ๋Š” ์• ๋‹ˆ๋ฉ”์ด์…˜์ด ์ž˜ ์‹คํ–‰๋˜์—ˆ๋Š”๋ฐ, ๋นŒ๋“œ ํ›„ ์• ๋‹ˆ๋ฉ”์ด์…˜์ด ์•ˆ ๋‚˜์˜ค๋Š” ๋ฌธ์ œ ํ•ด๊ฒฐ