Readdy Write  
0,00 €
Your View Money
Views: Count
Self 20% 0
Your Content 60% 0

Users by Links 0
u1*(Content+Views) 10% 0
Follow-Follower 0
s2*(Income) 5% 0

Count
Followers 0
Login Register as User

React: Page title over-excitation in browser set

24.02.2021 (👁629)

React: Page title over-excitation in browser set

 

In React, you can adjust the heading of the website at run time by using

 

 

document.title=this.state.myvariable

 

assigns the title

 

 

here with emojis 😀

    //====< HTML >====

    //----< render >----

    render() {

        //--------< render(HTML) >--------

        let breadcrumb_path = "";

        document.title = "👁 " + this.state.title;

        return (

            //----< return >----

            <div className="submit-form">

                {

                    this.state.loading ?