using react rails gem and helmet meta tag problem

i’m using gem 'react-rails' inside of ruby not seperated. I tried to use helmet but it didn’t worked. The codes below. Am i missing something?

    import {Helmet} from "react-helmet"
      render() {
       return (
         <div className="body">
             <meta charSet="utf-8" />
             <meta name="description" content="description" />
             <meta name="keywords" content="keyword" />
           <Header title="header" />
           <Table state={this.state} path={this.props.match.path} />
           <Services />
           <Blogs />

Source: React – Stack Overflow

November 14, 2021
Category : News
Tags: reactjs | ruby | ruby-on-rails

Leave a Reply

Your email address will not be published. Required fields are marked *

Sitemap | Terms | Privacy | Cookies | Advertising

Senior Software Developer

Creator of @LzoMedia I am a backend software developer based in London who likes beautiful code and has an adherence to standards & love's open-source.