Render function in package dependency not rendering
Hey team, I have React Helmet working nicely on a server-rendered page, using a function called renderServerView in my components package. The function creates a react element, renders it to a string, then I call Helmet.renderStatic() and interpolate the html as a string. However, in another repo, the "host" repo, I install components as an npm dependency via npm i. When i try and call renderServerView from the host, passing it a component, with Helmet markup in the template, the renderServerView function has only empty strings from Helmet. Is there something I have to be aware of in using Helmet this way? Something about require between repos or something?
I'm having the same issue, wondering if you ever found a workaround for this?