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
It is really hard to modify current prefetch module design to support ssr mode. How about we asynchronously import quicklink from CDN for withQuicklink component. This will prevent crash in ssr mode when use withQuicklink.
PR is on the way if you are ok for the this change.
The text was updated successfully, but these errors were encountered:
Hey guys,
Currently
withQuicklink
component will only be used in browser but it will crash in ssr mode. Casue we bundleprefetch
module:quicklink/src/react-chunks.js
Line 19 in 2b3dc21
and
prefetch
module runshasPrefetch
method which we usedocument.createElement
unsafely:quicklink/src/prefetch.mjs
Line 85 in 2b3dc21
It is really hard to modify current
prefetch
module design to support ssr mode. How about we asynchronously importquicklink
from CDN forwithQuicklink
component. This will prevent crash in ssr mode when usewithQuicklink
.PR is on the way if you are ok for the this change.
The text was updated successfully, but these errors were encountered: