jimotron
TTCTheo's Typesafe Cult
•Created by jimotron on 1/10/2024 in #questions
Issue setting up PostHog on NextJS
After seeing Theo's video on PostHog I thought I'd give it a try it a try. Can't say I've had the best first impression.
After following the official docs for NextJS I get an error on page load: "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
It looks like the issue has been around for a while.
- This was raised in November: https://github.com/PostHog/posthog-js/issues/872
- There's a comment from 4 months ago about this: https://posthog.com/docs/libraries/next-js#squeak-questions
I tried messaging support in posthog.com and it just errors... feels like the project has a few problems.
Is PostHog really stable? Anyone else fixed these issues? Thanks
4 replies