react-scan icon indicating copy to clipboard operation
react-scan copied to clipboard

I suggest you clarify that it wont work in SSR context

Open bluematter opened this issue 3 months ago • 1 comments

  useEffect(() => {
    scan({
      enabled: process.env.NODE_ENV === 'development',
      log: true,
      includeChildren: true,
      report: true,
    });
  }, []);

This within a main component works for me when using next.js app router

Took me at least 30 minutes, when some documentation would have saved me time, and onboarded me faster.

Nice work BTW

bluematter avatar Nov 22 '24 23:11 bluematter