react-diagrams
react-diagrams copied to clipboard
ReferenceError: self is not defined
ReferenceError: self is not defined
at Object.
Looks like ye olde server-side-rendering issue.
Perhaps using nextjs dynamic import will help:
https://nextjs.org/docs/advanced-features/dynamic-import#with-no-ssr
This kills types .. not a good solution
Any update on this, is there better way to do this?