Our state of the art Gantt chart


Post by AOAOAO »

Hey Bryntum-Team,

is it possible to use your React Components on the server-side with Frameworks like Next.js?

My Stack: Next.js | Apollo | GraphQL | Prisma

Post by AOAOAO »

I'm getting the error: "ReferenceError: self is not defined", when trying to run it with SSR.

This is one possible answer I found looking for similiar errors online:
"self is likely referring to window which is not available on the server side...it's only available in a browser context.".

Does that mean these components are only client-side?

Post by mats »

Correct!

Post by AOAOAO »

Is there a workaround you could recommend? Or will there be support for this in the future?

Post by mats »

Not sure at this time. We'll have to look into it. If it's critical for you, you can always hire our Professional Services to investigate it. https://www.bryntum.com/services/

Post Reply