'ReactJS: Inserting component in <Head> Tag

Is it right to put components in tag, for example I'm trying to dynamically change page titles and using function to accomplish this task. Check code screenshot here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source