Naming Rule - seowonintech/react-native-todo-list GitHub Wiki
์กฐ๊ธ ์งํํ๋ค๋ณด๋ class, function, file naming์์ ํ๊ฐ๋ฆฌ๋ ๋ถ๋ถ์ด ๋ง์ด ์๊ธฐ๊ฒ ๋์๋ค. ์๋ฌด๋ฆฌ ๋๋ ํ ๋ฆฌ๋ฅผ ๋ง์ด ๋๋ ๋๋๋ค๊ณ ํด๋ ์ด๋ฆ์ด ํ๊ฐ๋ฆฌ๋ ๊ฒ์ ์ด์ฉ์ ๊ฐ ์๋๋ผ.
๊ทธ๋ฆฌํ์ฌ ์ง๊ธ๊น์ง ์๊ฐํ ๋ฐฉ๋ฒ์ ์๋์ ๊ฐ๋ค.
- container๋ ์์ Ct๋ฅผ ๋ถ์ธ๋ค.
- Reducer๋ ์์ Rdc๋ฅผ ๋ถ์ธ๋ค.
- Component๋ ์์ Cp๋ฅผ ๋ถ์ธ๋ค.
- ํ์ง๋ง ๊ฐ ๋๋ ํ ๋ฆฌ์ ์๋ index.js ๋๋ App.js๊ฐ์ ๊ณต์ฉ(?)ํ์ผ์ ์ ์ธํ๋ค.
- action๋ค๋ ์ ์ธํ๋ค. (๋์ค์ ํ์ผ์ด ๋ง์ด ์๊ธฐ๊ฑฐ๋ naming์ด ์ด๋ ค์์ง๋ฉด ๊ทธ๋ ์๊ฐํ๊ธฐ๋ก...)

- Button์ ์คํ์ผ ์ ์ฉ์ด ๊ฑฐ์ ์๋๋ค.
- ๊ทธ๋ฐ Button์ ๋ง๋ค๋ ค๋ฉด Touchable์ด ๋ค์ด๊ฐ component ์ฐธ๊ณ
View์์ flex์ต์ ์ ์ต ์์ ๋ทฐ์์๋ถํฐ child๋ทฐ์ ๋ชจ๋ ์ค์ ์ด ๋์ด์ผ ์๋ํ๋ค. ์ค๊ฐ์ ํ๋๋ผ๋ ๋น ์ง๋ฉด ๋์์ด ์ด์ํด์ง.