dev + it dev nextjs 모달창에서 스크롤 방지처음 찾아본 코드로는useEffect(() => { document.body.style.overflow = 'hidden'; return () => { document.body.style.overflow = 'unset'; };}, []);을 사용했는데 문제점은 스크롤바가 사라지면서 레이아웃이 비틸렸다 다시 돌아왔다 한다는 것상당히 거슬려서 새로운 방법을 찾아봤다. // utils/modal.ts/** * 스크롤을 방지하고 현재 위치를 반환한다. * @returns {number} 현재 스크롤 위치 */export const preventScroll = (): number => { const currentScrollY = window.scrollY; document.body.style.p.. wono | discuss | tweet + it dev nextjs modal Next.js 15 - Modal 구현 (with. Parallel Routes & Intercepting Routes)웹 개발에서 모달창 구현을 직접 하거나 편리한 라이브러리는 대부분 상태관리와 함께 이루어진다.(본인 역시 react-modal을 그동안 사용해왔다.)const [isOpen, setIsOpen] = useState(false);const toggleModal = () => setIsOpen(!isOpen);const openModal = () => setIsOpen(true);const closeModal = () => setIsOpen(false);아마 대부분이 이런 기본 형태의 state를 활용했을 것이다. 이를 개발하다보면 필연적으로 마주치는 상황들이 몇가지 있는데 대표적으로 아래와 같이 있다.모달창이 열린 상황에서 새로고침을 하면 state로 관리하기 때문에 모달창이 닫힘뒤로가기 버튼을 누르면 이.. wono | discuss | tweet + it dev nextjs modal Next.js Parallel Routes로 모달 관리하기Next.js Parallel Routes로 모달 관리하기 안녕하세요. W컨셉에서 프론트엔드 개발을 담당하고 있는 YJ입니다. 웹 개발을 하다 보면 모달(Modal)을 구현할 일이 … wono | discuss | tweet + it dev nextjs modal Next.js에서 병렬 라우팅과 모달 구현의 최적화 방법Next.js의 병렬 라우팅 기능을 활용하여 다이내믹한 웹 애플리케이션 구조를 설계하고, 효율적인 모달 상호작용을 실현하는 방법을 알아봅니다. wono | discuss | tweet + it dev nextjs asynclocalstorage issue Issue with AsyncLocalStorage in Next.js 14: context is not being shared between middleware, handlers and SSR pages · vercel/next.js · Discussion #67305Issue with AsyncLocalStorage in Next.js 14: context is not being shared between middleware, handlers and SSR pages wono | discuss | tweet + it dev nextjs rsl asynclocalstorage prophet-growth-analysis /CRITICAL_FIXES_REQUIRED.md wono | discuss | tweet + it dev nextjs asynclocalstorage next.js/test/e2e/app-dir/edge-runtime-node-compatibility/middleware.ts at 18e7c84af25c69c7807026a9044819ace1780abb · vercel/next.jsThe React Framework. Contribute to vercel/next.js development by creating an account on GitHub. wono | discuss | tweet + it dev nextjs asynclocalstorage Next.js API Route Patterns: Replace Middleware with Scoped AsyncLocalStorageLearn how to manage scoped server-side state in Next.js API routes using multiple AsyncLocalStorage instances—just like nested React Contexts. Improve traceability, avoid prop-passing, and build cleaner fullstack apps. wono | discuss | tweet + it dev nextjs asynclocalstorage Next.js는 짜증나요 | GeekNewsNext.js의 미들웨어는 로깅 설정이 제한적이며, 기본 로깅이 개발 환경에서만 활성화되어 생산 환경에서 문제 추적이 어려움미들웨어에서 헤더만 전달 가능하며, 다중 미들웨어 체이닝이 불가능해 복잡한 로깅 구현이 제한됨AsyncLocalStorage를 사용한 로깅은 Edge 런타임에서 예상치 못한 동작을 보이며, 페이지와 미들웨어 간 컨텍스트 공유가 제대로 wono | discuss | tweet + it dev nextjs env utc Next.js Date & Time Localization GuideLearn about date and time localization in Next.js, including key concepts, tools, best practices, testing methods, and future developments. wono | discuss | tweet + it dev nextjs distdir How set the setting of a custom build directory in nextjs?Nextjs, by default, create the .next build folder and nextjs also, use .next folder withbuild command. If you change the .next build folder in a run and build time in nextjs. Firstly you open the… wono | discuss | tweet + it dev nextjs date-fns v4.0 is out with first-class time zones support!date-fns v4.0 is out with first-class time zone support and no major breaking changes. wono | discuss | tweet + it dev nodejs typescript Node.js is able to execute TypeScript files without additional configuration | Hacker News wono | discuss | tweet + it dev nextjs Building APIs with Next.jsLearn about how to build APIs with Next.js. wono | discuss | tweet + it dev ai agent tavily Tavily: LLM을 위한 최적화된 검색 API시작하며 대규모 언어 모델(Large Language Models, LLMs)은 자연어 처리 분야에서 혁명적인 발전을 이루었지만, 여전히 중요한 한계점을 가지고 있습니다. 그 중 하나는 최신 정보 처리의 어려움입니다. 대부분의 LLM은 특정 시점까지의 데이터로 학습되 wono | discuss | tweet + it dev kysely postgresql Convert the result type of the `count` function · Issue #610 · kysely-org/kyselyHow can I convert a type with a library without using SQL expressions? const result1 = await db .selectFrom('users') .select(() => sql`COUNT("users".id)::integer`.as('count')) .execute(); const result2 = await db .selectFrom('users') .se... wono | discuss | tweet + it dev nextjs hydration 어쩔 수 없는 hydration mismatch를 useEffect없이 해결하기이 데이터들은 서버에서 값을 알 수 없으므로, 클라이언트에서 데이터를 처리해야 한다. 만약 이 내용을 서버에서 바로 처리하려고 하면, 서버의 결과와 클라이언트의 결과가 달라질 수 있다. 즉, hydration mismatch가 날 수 있다. 다만 이 방법도 한계가 존재한다. 텍스트 대상으로만 가능하다는 점이다. 만약, nested 된 dom 구조에… wono | discuss | tweet + it dev nextjs jotai dangerouslyforcehydrate feat(utils/useHydrateAtoms) - Optionally rehydrate with force hydrate by SariSabouh · Pull Request #1990 · pmndrs/jotaiRelated Issues or Discussions The useHydrateAtom discussion has been live since August of 2021 in #669. Summary We found a use case within our project that required a rehydration after a specific e... wono | discuss | tweet + it dev nextjs jotai dangerouslyforcehydrate (nextjs) - useHydrateAtoms return previous value on dynamic route · Issue #2250 · pmndrs/jotaiSummary I use the useHydrateAtoms hooks on a dynamic route. On server side atom initialize with useHydrateAtoms use value from the previous render: Example: i have following route /pages/[slug.tsx] Go to localhost:3000/test -> Everything... wono | discuss | tweet + it dev kyselydev reuseable [Question] How to use reusable expression helpers with aliased tables · Issue #569 · kysely-org/kyselyHello 👋 I followed the documentation here to create some reusable helpers. Let's supposed I have these types to represent my database: export interface Employees { id: Generated<string>; name: string | null; workspaceId: string; } export... wono | discuss | tweetNext
+ it dev nextjs 모달창에서 스크롤 방지처음 찾아본 코드로는useEffect(() => { document.body.style.overflow = 'hidden'; return () => { document.body.style.overflow = 'unset'; };}, []);을 사용했는데 문제점은 스크롤바가 사라지면서 레이아웃이 비틸렸다 다시 돌아왔다 한다는 것상당히 거슬려서 새로운 방법을 찾아봤다. // utils/modal.ts/** * 스크롤을 방지하고 현재 위치를 반환한다. * @returns {number} 현재 스크롤 위치 */export const preventScroll = (): number => { const currentScrollY = window.scrollY; document.body.style.p.. wono | discuss | tweet
+ it dev nextjs modal Next.js 15 - Modal 구현 (with. Parallel Routes & Intercepting Routes)웹 개발에서 모달창 구현을 직접 하거나 편리한 라이브러리는 대부분 상태관리와 함께 이루어진다.(본인 역시 react-modal을 그동안 사용해왔다.)const [isOpen, setIsOpen] = useState(false);const toggleModal = () => setIsOpen(!isOpen);const openModal = () => setIsOpen(true);const closeModal = () => setIsOpen(false);아마 대부분이 이런 기본 형태의 state를 활용했을 것이다. 이를 개발하다보면 필연적으로 마주치는 상황들이 몇가지 있는데 대표적으로 아래와 같이 있다.모달창이 열린 상황에서 새로고침을 하면 state로 관리하기 때문에 모달창이 닫힘뒤로가기 버튼을 누르면 이.. wono | discuss | tweet
+ it dev nextjs modal Next.js Parallel Routes로 모달 관리하기Next.js Parallel Routes로 모달 관리하기 안녕하세요. W컨셉에서 프론트엔드 개발을 담당하고 있는 YJ입니다. 웹 개발을 하다 보면 모달(Modal)을 구현할 일이 … wono | discuss | tweet
+ it dev nextjs modal Next.js에서 병렬 라우팅과 모달 구현의 최적화 방법Next.js의 병렬 라우팅 기능을 활용하여 다이내믹한 웹 애플리케이션 구조를 설계하고, 효율적인 모달 상호작용을 실현하는 방법을 알아봅니다. wono | discuss | tweet
+ it dev nextjs asynclocalstorage issue Issue with AsyncLocalStorage in Next.js 14: context is not being shared between middleware, handlers and SSR pages · vercel/next.js · Discussion #67305Issue with AsyncLocalStorage in Next.js 14: context is not being shared between middleware, handlers and SSR pages wono | discuss | tweet
+ it dev nextjs rsl asynclocalstorage prophet-growth-analysis /CRITICAL_FIXES_REQUIRED.md wono | discuss | tweet
+ it dev nextjs asynclocalstorage next.js/test/e2e/app-dir/edge-runtime-node-compatibility/middleware.ts at 18e7c84af25c69c7807026a9044819ace1780abb · vercel/next.jsThe React Framework. Contribute to vercel/next.js development by creating an account on GitHub. wono | discuss | tweet
+ it dev nextjs asynclocalstorage Next.js API Route Patterns: Replace Middleware with Scoped AsyncLocalStorageLearn how to manage scoped server-side state in Next.js API routes using multiple AsyncLocalStorage instances—just like nested React Contexts. Improve traceability, avoid prop-passing, and build cleaner fullstack apps. wono | discuss | tweet
+ it dev nextjs asynclocalstorage Next.js는 짜증나요 | GeekNewsNext.js의 미들웨어는 로깅 설정이 제한적이며, 기본 로깅이 개발 환경에서만 활성화되어 생산 환경에서 문제 추적이 어려움미들웨어에서 헤더만 전달 가능하며, 다중 미들웨어 체이닝이 불가능해 복잡한 로깅 구현이 제한됨AsyncLocalStorage를 사용한 로깅은 Edge 런타임에서 예상치 못한 동작을 보이며, 페이지와 미들웨어 간 컨텍스트 공유가 제대로 wono | discuss | tweet
+ it dev nextjs env utc Next.js Date & Time Localization GuideLearn about date and time localization in Next.js, including key concepts, tools, best practices, testing methods, and future developments. wono | discuss | tweet
+ it dev nextjs distdir How set the setting of a custom build directory in nextjs?Nextjs, by default, create the .next build folder and nextjs also, use .next folder withbuild command. If you change the .next build folder in a run and build time in nextjs. Firstly you open the… wono | discuss | tweet
+ it dev nextjs date-fns v4.0 is out with first-class time zones support!date-fns v4.0 is out with first-class time zone support and no major breaking changes. wono | discuss | tweet
+ it dev nodejs typescript Node.js is able to execute TypeScript files without additional configuration | Hacker News wono | discuss | tweet
+ it dev nextjs Building APIs with Next.jsLearn about how to build APIs with Next.js. wono | discuss | tweet
+ it dev ai agent tavily Tavily: LLM을 위한 최적화된 검색 API시작하며 대규모 언어 모델(Large Language Models, LLMs)은 자연어 처리 분야에서 혁명적인 발전을 이루었지만, 여전히 중요한 한계점을 가지고 있습니다. 그 중 하나는 최신 정보 처리의 어려움입니다. 대부분의 LLM은 특정 시점까지의 데이터로 학습되 wono | discuss | tweet
+ it dev kysely postgresql Convert the result type of the `count` function · Issue #610 · kysely-org/kyselyHow can I convert a type with a library without using SQL expressions? const result1 = await db .selectFrom('users') .select(() => sql`COUNT("users".id)::integer`.as('count')) .execute(); const result2 = await db .selectFrom('users') .se... wono | discuss | tweet
+ it dev nextjs hydration 어쩔 수 없는 hydration mismatch를 useEffect없이 해결하기이 데이터들은 서버에서 값을 알 수 없으므로, 클라이언트에서 데이터를 처리해야 한다. 만약 이 내용을 서버에서 바로 처리하려고 하면, 서버의 결과와 클라이언트의 결과가 달라질 수 있다. 즉, hydration mismatch가 날 수 있다. 다만 이 방법도 한계가 존재한다. 텍스트 대상으로만 가능하다는 점이다. 만약, nested 된 dom 구조에… wono | discuss | tweet
+ it dev nextjs jotai dangerouslyforcehydrate feat(utils/useHydrateAtoms) - Optionally rehydrate with force hydrate by SariSabouh · Pull Request #1990 · pmndrs/jotaiRelated Issues or Discussions The useHydrateAtom discussion has been live since August of 2021 in #669. Summary We found a use case within our project that required a rehydration after a specific e... wono | discuss | tweet
+ it dev nextjs jotai dangerouslyforcehydrate (nextjs) - useHydrateAtoms return previous value on dynamic route · Issue #2250 · pmndrs/jotaiSummary I use the useHydrateAtoms hooks on a dynamic route. On server side atom initialize with useHydrateAtoms use value from the previous render: Example: i have following route /pages/[slug.tsx] Go to localhost:3000/test -> Everything... wono | discuss | tweet
+ it dev kyselydev reuseable [Question] How to use reusable expression helpers with aliased tables · Issue #569 · kysely-org/kyselyHello 👋 I followed the documentation here to create some reusable helpers. Let's supposed I have these types to represent my database: export interface Employees { id: Generated<string>; name: string | null; workspaceId: string; } export... wono | discuss | tweet