Tagging
Try bookmarklet. Easy tagging.
Do you want to delete?
Do you want to modify?
  • LINKTAG
  • New
  • Tag
  • Comment
  • Tag, nextjs
Sign in

nextjs

it dev nextjs badsetstate

Cannot update a component (xxx) while rendering a different component (xxx)

위의 웹 페이지에서 왼쪽의 컴포넌트 목록에서 각 메뉴를 클릭하면 오른쪽의 화면의 내용이 전환된다. 웹 버전을 모바일 버전으로 변경을 하게 되면 아래처럼 변환되고 좌측 상단의 메뉴 버튼을 클릭하면 메뉴가 표출된다. 지금이야 잘 작동을 하지만 최초 버전에서 제목의 에러 메시지를 만나게 되었다. Cannot update a component (`Main`) while rendering a different component (`MenuBar`). To locate the bad setState() call inside `MenuBar`, 화면의 컴포넌트 구조는 단순하다. 웹 버전일 때는 아래와 같고 모바일 버전에서는 다음과 같다. 문제는 모바일 버전에서 목록을 클릭할 때 마다 Main 컴포넌트의 인덱스가 변하..
wono | discuss |
it dev nextjs mismatch

Hydration Error : Minified React Error 해결하기 - 사툰사툰 NEXTJS

꾸준히 성장하고 싶은 프론트엔드 엔지니어입니다. 저만의 경험과 기록을 담아두었습니다 | Error Typescript Frontend React Next.js Nginx
wono | discuss |
it dev nextjs mismatch

[NextJS] Hydration error 해결/ SWC 설정(Prop className did not match)

* 본 포스팅은 공부하며 작성한 내용이며, 틀린 부분이 있을 수도 있습니다* 문제상황 두어캘 개발을 하며 ...
wono | discuss |
it dev nextjs mismatch

React의 hydration mismatch 알아보기 – 화해 블로그 | 기술 블로그

React의 hydration mismatch 알아보기 화해는 에러 트래킹 서비스인 Sentry를 사용하고 있는데요. 지난해 Next.js의 static export로 배포한 이벤트 페이지에서 hydration mismatch 에러가 쌓이기 시작했습니다.
wono | discuss |
it dev nextjs template

Next.js 14 강좌 3편. Template과 Loading 스페셜 파일

template.tsx 파일과 loading.tsx 스페셜 파일
wono | discuss |
it dev nextjs swr

React-Query vs SWR

블로그 이전하였습니다. React-Query vs SWR 비슷하지만 다른 react-query와 swr를 컨셉을 이해하며 비교해보자 yoon-hae-min.github.io 기존 글 서론 둘이 비교하기 앞서 왜 이런 라이브러리를 쓰는지부터 보고 가자 React에서 서버로부터 데이터를 가져오거나 전송해야할때 fetch Api를 사용하거나 axios를 사용하고는 한다. 이를 사용해서 충분히 서버와 데이터를 주고받을 수 있으나 규모가 커지면서 데이터 처리, 에러핸들링과 같은 부가적인 요인들이 많아지게 된다. 직접 구현해도 되지만 라이브러리를 이용해서 좀 더 쉽게 처리할 수 있다. 공통점 1. 데이터 요청 및 관리를 하기 쉽게 만들어 준다. 2. 캐시를 통해 api 호출을 줄이고 성능(UX)를 향상할 수 있다...
wono | discuss |
it dev nextjs swr

API – SWR

SWR is a React Hooks library for data fetching. SWR first returns the data from cache (stale), then sends the fetch request (revalidate), and finally comes with the up-to-date data again.
wono | discuss |
it dev nextjs swr

swr compared to @tanstack/react-query - Peterbe.com

Comparing swr compared to @tanstack/react-query for doing client-side data fetching in a React app.
wono | discuss |
it dev nextjs swr

swr 에서 react-query 전환기 | 네이버페이 기술블로그

안녕하세요. 금융 FE의 김범준입니다. 새로 팀에 입사한 후, 새로운 프로젝트를 시작하는데에 참여하게 ...
wono | discuss |
it dev nextjs cache

NextJS cache patterns for server actions

wono | discuss |
it dev nextjs react

React와 Next.js 업그레이드 방법: React 19 호환성 확인 및 의존성 충돌 해결 가이드

React 19 업그레이드 시 발생할 수 있는 의존성 충돌을 해결하고, Next.js 15.1의 새로운 기능과 호환성을 유지하는 방법을 알아봅니다.
wono | discuss |
it dev nextjs cache

[Next.js] use cache - A new way to Cache in Next.js 15

Next.js Caching 참고) unstable_cache는 archive 되었고 이를 대신하는 실험중인 기능입니다. This API is currently experimental and subject to change. use cache는 캐시할 컴포넌트, 함수 또는 파일을 지정합니다. 파일 상단에 사용하여 파일의 모든 함수를 캐시할 수 있음을 나타내거나 함수 상단에 인라인으로 사용하여 함수를 캐시할 수 있는 것으로 표시할 수 있습니다. 이것은 실험적인 Next.js 기능이며, use client나 use server와 같은 native React 기능이 아닙니다.   Next.config.ts 파일에서 dynamicIO 플래그를 사용하여 use cache 지시어에 대한 지원을 활성화할 수 있습니다..
wono | discuss |
it dev nextjs nuqs

Search Params in Next.js for URL State

How to use Search Params in Next with useSearchParams und SearchParams from React Server Components and Client Components for URL state ...
wono | discuss |
it dev nextjs checkbox

Working with Multiple Checkboxes in Next.js 14 Using Zod, ShadCN/UI, and React-Hook-Form

A step-by-step guide to efficiently handle multiple checkboxes in forms with Next.js 14, Zod, ShadCN/UI, and React-Hook-Form.
wono | discuss |
it dev nextjs jotai

Async Atoms — Easy State Management in Next.js with Jotai

Jotai also supports async atoms. Async atoms are atoms that can be read and written asynchronously. You can create an async atom using the atom function and loadable function from the jotai/utils…
wono | discuss |
it dev nextjs s3 presignedurl

Next.js 에서의 대용량 파일 s3 업로드

서버에 파일을 적재하지 않고 프론트엔드에서 다이렉트로 s3 버켓에 대용량 파일을 업로드 해봅시다
wono | discuss |
it dev nextjs form multipage

Build a multi step form with React Hook Forms (Nextjs)

Welcome to my personal portfolio and blog! My name is Samuel Omanchi. I am a frontend developer with a passion for creating intuitive and engaging user experiences. Explore my portfolio to see some of my recent projects, and check out my blog for insights on frontend development and the latest industry trends.
wono | discuss |
it dev nextjs react multipage

멀티페이지 폼을 아름답게 만들면서 멋지게 유효성 검사하기

ReactHookForm과 Zod 그리고 shadcn/ui를 사용하여 멀티페이지 폼 만들기 | 미량의 개발 블로그, miryang.dev
wono | discuss |
it dev nextjs react

How to set focus on an input field after rendering in React · CoreUI

In modern React applications, managing focus on input elements is crucial for enhancing user experience. This practical guide will explore how to set focus on an input field after rendering in functional components using React 18+. We’ll delve into using the autoFocus attribute, the useRef hook, and the useEffect hook to achieve this.
wono | discuss |
it dev nextjs nuqs

[nuqs 라이브러리] Nuqs 라이브러리 가이드: URL 쿼리 파라미터 관리와 최적화

Nuqs 라이브러리로 Next.js에서 URL 쿼리 파라미터를 효율적으로 관리하기Nuqs는 Next.js 애플리케이션에서 URL 쿼리 파라미터를 더 쉽고 타입 세이프하게 관리할 수 있도록 도와주는 라이브러리입니다. 이 라이브러리는 URL 기반 상태 관리를 간소화하고, 타입스크립트를 통해 안정성과 생산성을 높일 수 있는 강력한 도구입니다. Nuqs의 주요 장점쿼리 파라미터가 많은 페이지에서 유용필터링이나 정렬 기능이 있는 목록 페이지복잡한 검색 기능이 필요한 페이지여러 상태값을 URL에 저장해야 하는 경우주요 기능타입스크립트 지원으로 타입 안정성 제공URL 쿼리 파라미터를 React 상태처럼 사용 가능URL 업데이트 자동 처리쿼리 파라미터의 파싱 및 직렬화 자동화Nuqs 사용법1. App Router에서 ..
wono | discuss |
Next
© 2026. LINKTAG.ORG. Help Feedback Privacy Terms