We have seen in many web applications that when we try to move forward to another page or when we click on a route the application title automatically gets changed. Now, to implement this feature to your web application, what you ha to do is go to your chroome browser and search for react-helmet after that install it by using this command *npm install react-helmet *. After installing the package you have to add healmet to each component where you want to change your title. Example:-
<div>
<Helmet>
<title>Your Page Title</title>
</Helmet>
</div>`
Top comments (0)