question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Web Components scaffold not working in IE11

See original GitHub issue

Describe the bug The web components storybook scaffold does not work in IE11.

To Reproduce Steps to reproduce the behavior: Follow guide here: https://github.com/storybookjs/storybook/blob/4c64cdc0aca7d7485981f2fe766d6585112b28e1/app/web-components/README.md

  1. cd my-app
  2. npx -p @storybook/cli sb init -t web_components
  3. npm install lit-html - existing bug documents this: https://github.com/storybookjs/storybook/issues/9845
  4. npm run storybook
  5. Attempt to access the running storybook instance in IE11.

Expected behavior I expected the examples to work in IE11.

Screenshots Full video walkthrough of me scaffolding a project form scratch and testing in IE11: https://youtu.be/olcRZZAPvfw

Code snippets If applicable, add code samples to help explain your problem.

System: Environment Info:

System: OS: macOS Mojave 10.14.5 CPU: (8) x64 Intel® Core™ i7-6820HQ CPU @ 2.70GHz Binaries: Node: 12.14.1 - /usr/local/bin/node Yarn: 1.15.2 - /usr/local/bin/yarn npm: 6.13.4 - /usr/local/bin/npm Browsers: Chrome: 83.0.4103.14 Firefox: 74.0.1 Safari: 12.1.1 npmPackages: @storybook/web-components: ^5.3.18 => 5.3.18

Additional context Add any other context about the problem here.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:38 (22 by maintainers)

github_iconTop GitHub Comments

2reactions
ndelangencommented, May 1, 2020

sorry! 🙇

1reaction
tooppaaacommented, May 22, 2020

Thanks for the feedback. I did find another way to avoid resolution. PR https://github.com/storybookjs/storybook/pull/10783 is under review.

You still need to add the WebComponents polyfill to the preview yourself. Hope that helps

Read more comments on GitHub >

github_iconTop Results From Across the Web

parcel.js project. web components do not work on IE 11
My goal is: Using Parcel.js bundler. Vanilla JS and Web Components are the major tech-stack. Support IE 11. So I make a configuration...
Read more >
Make Polymer 2.0 Web Components work on IE11 and Edge
When building Web Components with Polymer CLI and serving it by running polymer serve it works fine on demo. Even on legacy browsers...
Read more >
Build Targets - Vue CLI
In web component mode, Vue is externalized. This means the bundle will not bundle Vue even if your code imports Vue. The bundle...
Read more >
What's behind the hype about Blazor? - Stack Overflow Blog
Essentially, Blazor has a separation between how it calculates UI changes (app/component model) and how those changes are applied (renderer).
Read more >
Testing Web Components with Karma and TypeScript
If any of these components has not been properly tested, the car may not work. Similarly, software can be considered as a collection...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found