Note: This is just an example PR on how the tab title rendering would look code wise, I have listed down some pain points in this approach would be very happy to get some feedback -
All the components that would require a browser title would need to have an extra renderTabTitle prop
If the function is kept on the top level, when going to another component without a title, the previous title gets retained instead of just showing CERN Library Catalogue again as it should, fix is it set the document.title = to the components.
:heart: Thank you for your contribution!
Description
Note: This is just an example PR on how the tab title rendering would look code wise, I have listed down some pain points in this approach would be very happy to get some feedback -
renderTabTitle
propCERN Library Catalogue
again as it should, fix is it set thedocument.title =
to the components.