Giter Club home page Giter Club logo

sleact's Introduction

npm init

  • npm package와 name이 겹치지 않게 해야 한다.
  • package-lock.json: 각 모듈들의 의존성 명시 되어 있는 파일
  • npm 사이트에서 td 붙어 있으면 타입스크립트 모듈 추가 설치 필요
  • npm i react react-dom
  • npm i @types/react @types/react-dom (추가 설치)

prettier, eslint

  • prettier: 코드 포멧터
  • eslint: 코드 검사 도구
  • prettierrc, eslintrc,

tsconfig.json 설정

  • 타입스크립트 설정
  • 타입스크립트를 자바스크립트로 바꿀 때 크게 두가지
  1. 타입스크립트가 바꿔주는데로
  2. 타입스크립트가 바벨을 거쳐서 바꿔주는 경우
  • 프론트 개발을 할때 css, html, img 파일이 생기는데 바벨이 모든 것을 js로 만들어 주기 때문에 바벨을 사용
  • 타입스크립트 사용할 때 any 쓰는것 별로 좋지 않다.
  • strict true로 두는것 권장

sleact's People

Contributors

jongyeol91 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.