Closed moishinetzer closed 1 year ago
Wich name would you prefer?
You should already be able to use whatever name you like - you need to pass it as "Head", though: renderHeadToString({ request, remixContext, Head: OtherHead });
Also you can not pass any Component here. It explicitly needs to be the one created by createHead
otherwise some of the magic won't work
Oh I didn't realise it was an object param! My bad, that makes total sense
P.S. awesome project thanks for making this!
It seems odd to have the name of the component required to be
Head
when inherently it's just a component that is being passed in.(And the error isn't so pretty either)