You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure why the headtags are restricted to do anything "onServer", but I haven't found a good way to make them actually generate header tags except for the Title which directly edits the DOM.
Title({ children }){if(onServer)NamedTags.title=`<title>${children.join('')}</title>`;React.useEffect(()=>{document.title=children.join('')},[children]);<====returnnull;},
Might I suggest removing the "onServer" check and adding an Event listener? Otherwise all of the updated props seem to get overwritten on Hydration.
I'm not sure why the headtags are restricted to do anything "onServer", but I haven't found a good way to make them actually generate header tags except for the Title which directly edits the DOM.
Might I suggest removing the "onServer" check and adding an Event listener? Otherwise all of the updated props seem to get overwritten on Hydration.
Otherwise if headtags could be added to the
pack
output so we can insert them into our template function.The text was updated successfully, but these errors were encountered: