리액트네이티브
-
[React Native] 버튼 눌러 페이지 이동하기졸업프로젝트 2020. 11. 28. 00:41
탭을 구현해야 하는데 버튼을 눌러 페이지 이동하는 것을 구현해버렸다. (아아...) 두 가지 모두 react-navigation 라이브러리를 이용하여 구현할 수 있어서 금방 바꿀 수 있을 것 같다. 일단 구현만 해보는 것을 목표로 했기 때문에 블로그의 코드를 그래도 써보았고 그 과정에서 나온 에러들을 정리하고자 한다. 1. bundle 자체가 진행되지 않는 에러 (time out error) expo를 사용하여 기기에서 코드를 확인하고 싶은 경우 expo를 실행한 노트북과 코드를 확인할 기기가 같은 네트워크에 연결되어있어야 한다. 나는 확인도 안 하고 휴대폰은 데이터를 켜놓고 노트북은 와이파이에 연결되어 있어 계속 time out 에러가 발생했다. 왜 안되지.. 왜 안되지.. 30분을 찾다가 휴대폰이 와..
-
시스템 아키텍쳐 (React-Native를 선택한 이유)졸업프로젝트 2020. 11. 27. 23:38
1. React Native 선택 어플리케이션 개발로 방향을 확정하였을 때 먼저 생각난 것은 안드로이드 스튜디오였다. 개발 환경이 window 기반이고 mac 없이 ios 어플리케이션 개발이 불가능하다고 들었기에 처음에는 안드로이드 스튜디오로 개발을 시작하려 했다. 개발을 시작해볼까..? 하고 안드로이드 스튜디오를 켜고 조금이나마 손을 대는 순간 뭔가 굉장히 하기 싫다는 느낌을 받았다. 안드로이드 스튜디오 자체가 굉장히 무겁기도 하고 조금 old 하다는 느낌을 많이 받았다. 그래서 다른 방법으로 어플리케이션을 개발할 수 없을까 하고 찾아보다 나온 것이 React Native였다. React Native(RN)란? 리액트의 접근방법을 모바일로 확장한 Facebook의 오픈소스 프로젝트이다. javascri..