Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support in SSR of IE11 #1657

Closed
Sh031224 opened this issue Nov 24, 2021 · 0 comments · Fixed by #1659
Closed

Support in SSR of IE11 #1657

Sh031224 opened this issue Nov 24, 2021 · 0 comments · Fixed by #1659

Comments

@Sh031224
Copy link
Contributor

Sh031224 commented Nov 24, 2021

Bug report

Support in SSR of IE11.

Description / Observed Behavior

Object doesn't support property or method 'attachShadow'. error when running this repository code in IE11.

image

This problem is also registered in the nextjs issue.
So I tried this solution, but got another error as below.

image

You can check the above error is here

Of course, if i just configure CSR without adding SSR settings, it works fine in IE11.

Expected Behavior

It should work without errors like any other browser.

Repro Steps / Code Example

default
polyfills

Additional Context

SWR version. 1.1.0-beta.10
Next version. 12.0.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant