Recent Posts
Recent Comments
Archives
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 자주 까먹는
- deep dive
- 리터럴
- useRouter
- 코테
- git
- 초기셋팅
- array정적메서드
- React
- 모던 자바스크립트
- js
- 내일배움캠프
- 모던자바스크립트
- 오블완
- domain
- 코딩테스트
- vercel
- 티스토리챌린지
- CORS
- 소셜 로그인
- 프로젝트 셋팅
- 셋팅
- 스파르타코딩클럽
- vscode
- 코드카타
- 프로그래머스
- 구글 로그인
- Next
- error
- nextjs
- Today
- Total
목록QueryString (1)
도록
[nextJs/react] 매번 헷갈리는 파라미터 가져오기
Next Client Component = React const { name } = useParams(); Next Server componenttype PageProps = { params: { slug: string } searchParams: { [key: string]: string | string[] | undefined }};export default function Page({ params, searchParams } : PageProps ) { return My Page} Next app router 1. GETimport { type NextRequest } from 'next/server' export function GET(request: NextRequest) { ..
React
2024. 9. 5. 18:46