menu_book Course Curriculum (Remix) expand_more
Routing
Loaders and Actions
HTTP and Sessions
NavLink active state
Learn NavLink active state in Remix through a focused explanation, a topic-specific example, an engineering warning, and a mastery check.
12 min read
•
Beginner
remix-006.ts
typescript
<NavLink to="/inbox" className={({isActive})=>isActive?'active':''}>Inbox</NavLink>
What to watch
Content source & attribution
Original Syntaxis Content · Original Syntaxis Content