You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While setting up test-projects with usage of generated react components in NextJS, we encountered two issues which should be resolved.
While building the application, Stencils own bootstrapLazy is mocking document and document.head when it´s not available with an empty object. This causes console errors, because functions are still called on them.
Automatically optimizing pages .(node:14624) UnhandledPromiseRejectionWarning: TypeError: head.querySelector is not a function
at Object.bootstrapLazy
The Application still runs though.
The 'isCoveredByReact' function used by 'attachEventProps' is accessing 'document' without checking if it´s available by passing’s it as default parameter.
Expected behavior:
No errors thrown.
Related code:
Sample projects are pending from the user
The text was updated successfully, but these errors were encountered:
Stencil version:
I'm submitting a:
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://stencil-worldwide.herokuapp.com/ or https://forum.ionicframework.com/
Current behavior:
While setting up test-projects with usage of generated react components in NextJS, we encountered two issues which should be resolved.
Automatically optimizing pages .(node:14624) UnhandledPromiseRejectionWarning: TypeError: head.querySelector is not a function
at Object.bootstrapLazy
The Application still runs though.
Expected behavior:
No errors thrown.
Related code:
Sample projects are pending from the user
The text was updated successfully, but these errors were encountered: