- 
                Notifications
    
You must be signed in to change notification settings  - Fork 2
 
機能拡張のヒント
        texdeath edited this page Dec 9, 2021 
        ·
        1 revision
      
    React memo等でのパフォーマンスの向上
react developer tools というchrome拡張機能を入れてみるeslint, prettierで開発体験の向上
https://qiita.com/yuma-ito-bd/items/cca7490fd7e300bbf169
- eslint
 
$ yarn  add -D -W eslint
$ yarn workspace react-typescript add -D @typescript-eslint/parser @typescript-eslint/eslint-plugin
$ npx eslint --init  // init ファイル (eslintrc.js)の生成
- prettier
 
$ yarn add —D -W prettier eslint-config-prettier
.eslintrc.jsにprettierの設定を追加する
Github pages で公開してみる
https://qiita.com/pure-adachi/items/173f5dda05a391d2b956
$ yarn workspace react-typescript add -D gh-pages
$ yarn workspace react-typescript gh-pages -d dist個人のアカウントのリポジトリにPushする
$ cd ~/[作業ディレクトリ]
$ rm -rf ./git
$ git init
$ git remote set-url origin [email protected]:[アカウント名]/[リポジトリ名].git