일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- TS
- async
- 글또10기x코드트리
- 타입스크립트
- 이진탐색
- set
- Spring
- supabase authentication
- 슬라이딩윈도우
- app.post
- code-push-standalone
- codepush
- extends
- xlsx-js-style
- javascript
- Next.js
- array
- 페이지네이션
- 상속
- meatadata
- supabase 페이지네이션
- 코드푸시
- reactnative
- map
- Filter
- react
- supabase auth
- interface
- 스크롤이벤트
- generic
- Today
- Total
목록분류 전체보기 (170)
rhanziy
이진탐색이란 ?divide and conquer(분할 정복) 패턴을 지향하는 탐색 알고리즘. 빠르고 효율적이지만 배열이 정렬되어있어야 한다.시간복잡도는 O(log n) 준비물정렬된 배열 Array A 와 Left, Middle, Right 포인터 동작원리L: 배열의 첫번째, R: 배열의 마지막, M: L 와 R의 평균값If A[M] === target return M If A[M] 미들 다음으로 탐색If A[M] > target, set R to M-1 -> 미들 이전을 최고값으로 탐색 const nums = [1,5,13,17,32,39,45,50]function binarySearch(arr: number[], target: number){ let left = 0; let rignt = arr...

재귀함수란 ? 함수 내부에서 자기자신을 호출하는 것. 재귀함수 조건Stop condition(base case)Recursive case모든 재귀함수는 스택오버플로우를 방지하기위해 실행을 종료할 base case를 정의해야한다. 재귀단계의 연산을 제대로 설정하지않으면 maximum call stack size exceeded 에러 발생function drink(x) { //1. base case if(x 예제1) 문자열을 뒤집는 함수function reverse(str){ //base case if(str == ''){ return "" } else { //recursive case return reverse(str.substr(1)) + str.charAt(0) }}resver..
프로젝트에 간단하게 문의하기 기능을 넣기위해 nodemailer 라이브러리를 설치했다.https://nodemailer.com/ Nodemailer :: NodemailerNodemailer Nodemailer is a module for Node.js applications to allow easy as cake email sending. The project got started back in 2010 when there was no sane option to send email messages, today it is the solution most Node.js users turn to by default. npm inodemailer.com 1. npm 설치npm install nodemaile..

에러메세지execution failed for task ':app:compiledebugkotlin'. > a failure occurred while executing org.jetbrains.kotlin.compilerrunner.gradlecompilerrunnerwithworkers$gradlekotlincompilerworkaction > compilation error. see MainApplication.kt 파일에 오류가 있었다.에러메세지만보고 처음엔 compile kotlin 버전을 낮추고 난리를 쳤는데 스택오버플로우에서 찾은 결과로는 rn 0.6이상에서는 자동으로 package가 추가된다고한다.new RNConfigPackage()를 주석처리해주자. 그럼 빌드 완뇨
네비게이션 - 스택, 바텀탭네비게이션yarn add @react-navigation/native @react-navigation/native-stackyarn add react-native-reanimated react-native-gesture-handler react-native-screens react-native-safe-area-contextyarn add@react-navigation/bottom-tabs

아이콘을 따로 저장하지않고 쉽게 불러와서 사용하기위해 라이브러리를 설치했다.yarn add react-native-vector-icons yarn add --dev @types/react-native-vector-icons ios그리고 생성된 node_modules/react-native-vector-icons 폴더에서 Fonts 파일은 xcode 프로젝트안에 드래그&드롭 info.plist 안에 아래 코드 추가 UIAppFonts AntDesign.ttf Entypo.ttf EvilIcons.ttf Feather.ttf FontAwesome.ttf FontAwesome5_Brands.ttf FontAwesome5_Regular.tt..

npx react-native@latest init 프로젝트명 프로젝트 생성 후 시뮬레이터 실행이 안돼서 노드를 깔았따 지웠다 모듈을 날렸다 생성했다 하면서 에라이 다시 프로젝트 생성하자~ 하고 터미널에 입력했는데 npm 오류가 떴다. npm error code ENOENTnpm error syscall statnpm error path /Users/raniMac/.npm/_cacache/content-v2/sha512/b5/37/cf317838766ab773d9617270de8511dd367bf7467f2b2288457a4bda388fdd00f3b1dc6a77e57848299423f08c9195f61ce16ae9d89f77798b9bc8cc57ddnpm error errno ENOENTnpm erro..
( 만 14세 이상 입니다. (필수) } /> )} /> 부모컴포넌트에서 controller로 자식 checkbox의 value를 제어했었는데, 기능은 잘 되지만 콘솔에 Ref Error가 떴다.React에서 Ref를 사용하는 경우VanillaJS와 달리 React에서는 특정 DOM을 직접적으로 수정해야하는 경우, Ref를 사용!특정 element에 포커스, 속성값을 관리할 때.특정 element에 애니메이션을 직접적으로 실행시킬 때.서드 파티 DOM 라이브러리를 React와 같이 사용할 때.출처: https://sambalim.tistory.c..