React Native : RN 12

ESLint, Prettier 설치

1. ESLint 코드의 오류나 버그, 스타일 점검 설치 후 명령어 입력 npm install -g -d eslint eslint --init 아래와 같이 설정 - To check syntax and find problems, and enforce code style - JavaScript modules (import/export) - React - TypeScript : Yes - Node - Use a popular style guide - Airbnb - JavaScript - Yes 2. Prettier 설치 후 명령어 입력 npm install --save-dev --save-exact prettier ESLint는 문법검사, Prettier는 코드 포맷을 맡게한다. npm install esl..

nodebrew로 node 버전설치

brew로 설치된 node 삭제 brew search node 1. 위 명령어를 입력 후 체크되어 있는 모든 대상을 지운다. brew uninstall {target} 2. brew search node를 재 실행하여 체크되어 있는 대상이 있는지 재 확인 brew search node 모든 node 삭제 cd /usr/local/lib cd /use/local/include 1. 위 경로내 node 관련 파일 또는 폴더를 삭제, 아래 명령어 참조 sudo rm -rf node/* 2. 실행 sudo rm -rf /usr/local/bin/npm sudo rm -rf /usr/local/bin/node sudo rm -rf /usr/local/share/man/man1/node.1 sudo rm -rf /..

RN. 프로젝트. 초기세팅

node 버전 설치 https://benoit.tistory.com/16 nodebrew로 node 버전설치 brew로 설치된 node 삭제 brew search node 1. 위 명령어를 입력 후 체크되어 있는 모든 대상을 지운다. brew uninstall {target} 2. brew search node를 재 실행하여 체크되어 있는 대상이 있는지 재 확인 brew s.. benoit.tistory.com 설치 및 프로젝트 생성 참고 : https://reactnative.dev/blog/2017/03/13/introducing-create-react-native-app Introducing Create React Native App · React Native Today we’re announcin..

[Facebook + Expo] create-react-native-app {project name}

참고 : https://reactnative.dev/blog/2017/03/13/introducing-create-react-native-app Introducing Create React Native App · React Native Today we’re announcing Create React Native App: a new tool that makes it significantly easier to get started with a React Native project! It’s heavily inspired by the design of Create React App and is the product of a collaboration between Facebook and reactnative.d..