Cannot get WDYR output from nextjs dynamically loaded component (e.g. for no-ssr use case)
Author: bram2000Created Jul 2, 2023Updated Jul 21, 2023
Hello,
In Next.js (12) I'm using the dynamic import as recommended in the docs to prevent the component from breaking when server-side. Unfortunately I'm unable to get any output from WDYR for such components and my assumption is that it's related to the dynamic import (since it works fine in my other components which are imported as normal).
Is this a limitation of WDYR, or is there something I can do to get it working?
Thanks!
Source: welldone-software/why-did-you-render