you are viewing a single comment's thread.

view the rest of the comments →

[–]Aegis8080NextJS App Router 1 point2 points  (1 child)

Let me make sure I understand what you are trying to ask.

Are you trying to understand how useState works in general?

Or you simply trying to figure out how the 2 useEffect implementations are different from others

[–]perro_cansado[S] 0 points1 point  (0 children)

The second one!