use with Next JS page router
Hey @niklauslee I'm trying to get dgmjs working with my Next JS project. Tried everything and finally worked out that while it works fine with Next JS app router, when using in Next JS page router I get this error: 

TypeError: Cannot read properties of null (reading 'useState')

Any idea why this might be happening? Thanks!