Skip to content

hyojun/FluxReactStudy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Javascript Study for Flux, React.js

Setting

  1. XCode
  2. Node.js : https://nodejs.org/en/
  • bower sudo npm install -g bower
  • esLint sudo npm install -g eslint
  1. Sublime Text3 : http://www.sublimetext.com/3
  1. Project setting
  • npm install
  1. Build commands
  • npm run build
  • npm run start
  • npm run test

Naming Convention

  • 클래스 내부적으로 사용하는 변수와 함수는(자바에서 private) 앞에 _를 붙인다 (e.g. _onSave)
  • 클래스와 오브젝트를 구분
    • 클래스는 자바컨벤션 그대로 따름 (e.g. MotionEvent)
    • 오브젝트는 앞에 o를 붙인다 (e.g. oMotionEvent)
  • 변수 네이밍 컨벤션
    • String : 앞에 s를 붙인다 (e.g. sVariable)
    • Number : 앞에 n을 붙인다 (e.g. nVariable)
    • Boolean : 앞에 b를 붙인다 (e.g. bVariable)
    • Object : 앞에 o를 붙인다 (e.g. oVariable)
    • Array : 앞에 a를 붙인다 (e.g. aVariable)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •