on-internet
← Community

Do I understand the Next.js "hydration" concept correctly?

Stack Overflow ·

I am reading this article on hydration and I am using Next.js to try and visualize some of the concepts. It's written there that: The moment the island is hydrated, listeners attached, the click is re-dispatched into it. The user's click lands. So accordingly to above, when I first see page, not yet hydrated, I should be able to click there and see my event handlers fire after hydration is finished. However this is not what I am seeing with below code: 'use client' import { ChangeEvent, Suspense, useState } from 'react' import { Comments } from './Comments' import { Loader } from './Loader' im

Comments

Sign in or sign up to comment and upvote.

No comments yet.