<@U79R6UQDB> i am using react
# prisma-whats-new
b
@eruby i am using react
e
Not my expertise unfortunately. I'm much more familiar with Vue
Nuxt is the vue version of Next, and there is a package to solve this easily
b
how so?
what is the general idea to solving this?
e
For one, I'm not sure what you're trying to do here
Is this to inject the apollo script into your site?
b
i render the app server side as a string which does show up on the client prepopulated
but then it loads again and populates again
e
Have you looked into next?
b
yeah
but not too much
had trouble migrating my existing react project to next
e
Idk what the overhaul would look like
But they probably have a solution for your issue
Given SSR is the primary function of NEXT
That's my advice. You're throwing band-aids on a deep wound otherwise
b
hmm alright you convinced me to spend more time with next 🙂
e
SSR can be deceptively complicated as you can see. Don't reinvent the wheel here.