Dynamic script tag content does not show up on render
Unanswered
Spectacled Caiman posted this in #help-forum
Spectacled CaimanOP
I'm trying to load in some structured data via a script tag in NextJS however, it isn't static data - I'm generating the structured data and then trying to inject it into the script component however, I always get undefined or nothing when trying to loading in the structured data. I'm generating the data via SSR (getServerSideProps) and passing the data inline but it does absolutely nothing.. is this a bug or intended behaviour ?