Sign in
Log inSign up

Is Helmet Pretty Much Useless for a SPA react app?

Barry Banjaxed's photo
Barry Banjaxed
·Feb 18, 2019

Very Noob Question Here.

I created my first SPA react app. The navigation is menu items in a header that scroll to anchor tags. Each section is a Component. So my structure is like so

class App extends Component {
  render() {
    return (
      <div className="App">
        <Header />
        <Welcome />
        <About />
        <Component1 />
        <Component2 />
      </div>
    );
  }
}

Is it useless to use react helmet in each of my components? I think only the Helmet in the last component (component2) would take effect right? (I'm trying to learn how to make my spa google friendly)