reactfire
reactfire copied to clipboard
SuspenseWithPerf fails with NextJS (`ReferenceError: performance is not defined`)
Version info
React:
Firebase:
ReactFire:
Other (e.g. Node, browser, operating system) (if applicable):
Test case
Steps to reproduce
I tried to follow all the exact code in Example. When I use SuspenseWithPerf, I get following error:
ReferenceError: performance is not defined
What am I possibly doing wrong? Can someone help me?
Expected behavior
Actual behavior

P.S I am using Next JS. Is there any setting that I have to do explicitly?
SuspenseWithPerf relies on the browser's built-in Performance interface as part of the User Timing API, so I don't think it will work with Next.JS's server-renderer right now.