Loading...
「ツール」は右上に移動しました。
利用したサーバー: wtserver1
2いいね 171 views回再生

Active Route Links | Mastering React Routers | React Routers Tutorials

Summary
This video demonstrates how to use "active routes" in React by using React Router. Active routes visually highlight the currently active page within your navigation bar, providing a clear indication to the user of their current location.

Highlights
💅 Use `NavLink` to create active routes: Instead of using `Link` tags, use `NavLink` to add active route functionality.
🎨 Style active routes: The `NavLink` component has an `isActive` property which can be used to conditionally apply styles to the link.
👨‍💻 Customise active route appearance: Use the `children` prop to apply changes to the entire link element based on its active status.
🧭 Explore the `end` property for nested routes: The `end` property can be used to fine-tune active route behaviour in nested routing scenarios.
🚀 Stay tuned for more: The video suggests further exploration of active route features and nested routing in subsequent videos.

React Routers Documentation
https://reactrouter.com/en/main

Telegram Link
https://t.me/techshareskk

Instagram
  / tech.share.skk  

Playlist links

Angular Project
   • User & Notes Management | Angular Pro...  

Angular Tutorials Zero to Hero
   • Angular Tutorials  

Angular Unit Testing
   • Angular Unit Testing  

For Angular Reactive forms
   • Angular Reactive forms  

For Javascript Objects Series
   • Javascript Objects  

For Concepts of JavaScript
   • Concepts of JavaScript  

For Projects and POC
   • Innovative Projects & Proof of Concepts  

#webdevelopment #html #css #javascript

コメント