목록개발/React Native (3)
Leo's Story
Install $ npm install react-native-gesture-handler $ npm install @react-navigation/stack $ npm install @react-navigation/native $ npm install react-native-safe-area-context $ npm install react-native-reanimated $ npm install @react-native-community/masked-view App or Root react-native-gesture-handler 를 import import 'react-native-gesture-handler'; function App() { return ( ); } export default Ap..
Asycn Storage 는 String 데이터만 저장할 수 있음. JSON의 경우 JSON.stringfy()를 통해 직렬화를 하고 JSON.parse()를 통해 로드. 1. npm install npm install @react-native-async-storage/async-storage 2. 프로젝트 상단 Import import AsyncStorage from '@react-native-async-storage/async-storage'; 3. 저장 -> key: value 형태로 저장 String const storeData = async (value) => { try { await AsyncStorage.setItem('@storage_Key', value) } catch (e) { // 저..

React Native 개발 공부를 위해, 정리 및 작성을 하게되었습니다. - React.js 사용자 인터페이스 및 웹 애플리케이션 구축을 위해 프론트 엔드 웹과 서버에서 실행되는 것을 지원하는 JavaScript 라이브러리 [문서] https://ko.reactjs.org/docs/getting-started.html 시작하기 – React A JavaScript library for building user interfaces ko.reactjs.org - React Native(RN) ReactJS를 사용하여 구성 요소를 빌드하고 ReactJS를 구현할 수있는 JavaScript로 다양한 플랫폼 (iOS, Android 및 Windows Mobile)에 대한 기본 모바일 애플리케이션을 빌드 할 수 ..