Hey Brett, I am looking for a guide on how to implement an active Navbar with the App Router. There is a “Checking Active Links“- Methode mentioned in the next js docs (Linking and Navigating). Does this mean you can use only the Link-Tag without the useRouter to have an active Navigation item? And if yes… how? Great video by the way✌🏼
I hope this si no too late, you can usePathname() (i think this is the name of the next hook) tis return the link string, and you can compare in the className: ex: pathname = usePathname(); className ={ pathname === '/' ? 'class': 'otherclass'}. I hope this work for you
hey, i have a page that displays data from the database in cards and i want to pass the data to another page when the card is clicked (as of more detailed information) but its not working for me, can you help me with this? i would really appreciate it.
hy bro, i have a questions since v13.4 , when route change by next/navigate, i have used const dynamic "force-dynanic" also even used revalidate = 0, but page route keep cache, and every 30 sec page will auto rerenderin, my questions is, how to make page auto rerendering without waiting 30sec like Gssp on page router? , thx broo.