목록분류 전체보기 (373)
Silver Library (Archived)
// 예시 import { useParams } from "react-router-dom"; function Alpha() { const { id } = useParams(); const package = AlphaList[id]; return ( {package.name} Main Stacks: {package.skills} ... ); } 아마 react-router-dom 으로 해본 것들은 이런 식으로 정리 해 나가지 않을까 싶네요. 다른 분들이 더 잘 적어 두었을테니 이번에도 나만의 공책이란 느낌으로 적어보고자 합니다. useParams() hook 이란 뭘까요? 일단 이건 react-router-dom 에서 지원되는 건데, 주 기능은 아래와 같습니다. 주 기능. parameter(매게변수) 의 ..
Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target. You may assume that each input would have exactly one solution, and you may not use the same element twice. You can return the answer in any order. Example. Input: nums = [2,7,11,15], target = 9 Output: [0,1] Explanation: Because nums[0] + nums[1] == 9, we return [0, 1]. 기록. ..
수학 적 용어 설명은 아래 링크를. Polynomials Polynomials A polynomial looks like this: example of a polynomial this one has 3 terms Polynomial comes from poly- (meaning "many") and -nomial (in this case meaning "term") ... so it says "many terms" Polynomials with one variable make nice smooth curves: www.mathsisfun.com Leetcode 를 고려한 기록. 적어도 O(n), 2 log n 같은 걸 어떻게 해석하는 지 정도는 알겠습니다. 이제, 남은건 Big O notation 에서 ..
카카오 같은 곳에서도 react-query 에 대해 대서특필 해 둔걸 보면, 생각한 것 보다는 이득이 커 보입니다. 아마도, redux 또는 next.js 를 대체 할 수 있지 않을까 싶었는데 꼭 그렇지는 않아 보입니다. 마찬가지로, next.js 도 같이 사용이 가능해 보이네요. React-query Overview | TanStack Query Docs React Query is often described as the missing data-fetching library for React, but in more technical terms, it makes fetching, caching, synchronizing and updating server state in your React applica..