[React Native] Swiper 안에서 Array.map()으로 만든 컴포넌트가 한 View(한 페이지) 안에 뭉치는 버그
영어로 검색하실 분들을 위한 영어 제목: React Native - Components made from array by map are put altogether in a single view. tf is the problem here 리액트 네이티브를 공부하면서 끄적끄적 연습용 앱을 개발하고 있는데 난관에 부딪혔다. Swiper를 쓸 일이 있어서 react-native-swiper를 설치하고 아래와 같이 작성했는데 뷰가 이상하게 나오는 것이다. const Component1 =()=>{ const arr = [{id:1,data:"hi"},{id:2,data:"hello"}]; return( {arr.map(e=>)} ); } export default Component1; 이런 코드로 아래와 같은 현..
2022.09.18