9. Link Client Component and Custom Hook | NextJS App Router Crash Course
In this video, we will look into the client component by designing a link component using "use client" directive to know the active link.
-----------------------------------------------------------------------------------------------------------
GitHub NextJS Source which helped me here: https://github.com/vercel/next.js/dis...
------------------------------------------------------------------------------------------------------------
Timestamps:
00:00:00 - Introduction
00:01:46 - Server and Client Boundaries (Theory)
00:03:01 - First Client Component
00:08:09 - Find the active link!?
00:09:16 - Custom Hook for getting the hash path
00:16:58 - eventHandlers don't work in server components
00:18:04 - Finally, active link
------------------------------------------------------------------------------------------------------------
GitHub Repo: https://github.com/codedusting/next-c...
Complete Playlist: • NextJS 14 App Router Crash Course
------------------------------------------------------------------------------------------------------------
Social:
Twitter: / codedusting
Hindi Channel: / @codedustinghindi
------------------------------------------------------------------------------------------------------------
#crashcourse #nextjs #nextjs14