일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
- 오블완
- 자주 까먹는
- 코드카타
- TailwindCSS
- 프로그래머스
- 코테
- domain
- 초기셋팅
- 티스토리챌린지
- js
- deep dive
- git
- 내일배움캠프
- Next
- nextjs
- 모던자바스크립트
- array정적메서드
- 코딩테스트
- useRouter
- error
- supabase
- vercel
- 셋팅
- 최적화
- 프로젝트 셋팅
- 스파르타코딩클럽
- CORS
- auth
- 모던 자바스크립트
- React
- Today
- Total
목록분류 전체보기 (151)
도록
1. 설치하기npm i typescript @types/react @types/react-dom 2. 최초 설정하기npx tsc --init 생성된 tsconfig 파일에서 "jsx" 옵션을 줘야함: jsx가 자바스크립트 파일에서 내보내지는 방식을 제어하는 옵션 preserve: jsx를 변경하지 않고 .jsx 파일을 내보낸다.react: React.createElement 호출로 변경된 jsx로 .js 파일을 내보낸다.react-native : preserve와 같이 jsx를 변경하지 않지만 .js 파일을 내보낸다. 3. 기존 파일 확장자 변경하기- js 파일들 tsx/ts 확장자로 변경 4. 문제 생긴 부분 수정 + 필요하면 lib 추가 설치- js 파일들 tsx/ts 확장자로 변경 5. 끝! 프로..

Image 태그 부모 컨테이너 에 따로 relative나 width, height 크기 지정하지 않아도 gif처럼 동작함 Image src={image} alt="image" sizes="full" width={0} height={0} className={"h-full w-full object-contain"}

1. install 하기yarn add react-native-splash-screen 2. splash 화면 정의하기파일 위치 : /android/app/src/main/res/layout/launch_screen.xml폴더나 파일이 없으면 만들어서 동일하게 구성할 것 (우측 사진 참고)배경색 등 화면 구성이 정의되어 있다. ImageView 태그의 android:src="스플래시 이미지 링크" -> 해당 위치에 이미지 추가 3. splash 보여주기파일 위치 : /android/app/src/main/java/[...]/MainActivity.javaimport org.devio.rn.splashscreen.SplashScreen;class MainActivity : ReactActivity..

에러 메세지FAILURE: Build failed with an exception. * What went wrong: java.io.UncheckedIOException: Could not move temporary workspace (C:\Users\happy\project\mobile\android\.gradle\8.6\dependencies-accessors\423f0288fa7dffe069445ffa4b72952b4629a15a-c6373ed8-1955-4558-9396-8e5b76b1e878) to immutable location (C:\Users\happy\project\mobile\android\.gradle\8.6\dependencies-accessors\423f0288fa7dffe069..
Core ComponentReact Native UI ComponentAndroid ViewIOS ViewWeb Analog설명스크롤 불가한 - https://reactnative.dev/docs/components-and-apis#user-interface