import * as React from "react"; import { Helmet, HelmetData } from "react-helmet"; import HelmetDefaultExport from "react-helmet"; const Application = () =>
My Title My Title
Nested Title
; const helmet: HelmetData = Helmet.renderStatic(); const html = ` ${helmet.title.toString()} ${helmet.meta.toString()} ${helmet.link.toString()}
// React stuff here
`; function HTML() { const htmlAttrs = helmet.htmlAttributes.toComponent(); const bodyAttrs = helmet.bodyAttributes.toComponent(); return ( {helmet.title.toComponent()} {helmet.meta.toComponent()} {helmet.link.toComponent()}
); } console.log(newState)} > My Title ; ; // undefined value ; ; // boolean value ; ; // number value ; ; // arbitrary data- attribute ; ; // $ExpectError ; // $ExpectError ; // $ExpectError ; // $ExpectError ;