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.

sweetalert2-react-content doesn't work in stackblitz

See original GitHub issue

stackblitz is an amazing sandbox for react, it’s blazing fast and comfortable to use.

Here’s the simple project with sweetalert2-react-content: https://stackblitz.com/edit/react-ndncml?file=index.js

If you uncomment two lines:

import withReactContent from 'sweetalert2-react-content'
console.log(withReactContent)

There will be a strange notification about missing packages:

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
zenflowcommented, Mar 7, 2018

Thanks for reporting @limonte … apparently I did not read the webpack documentation close enough

It works now: https://stackblitz.com/edit/react-p1a1go?file=index.js

0reactions
zenflowcommented, Apr 2, 2018

Just leaving a note here for myself…

Similar to stackblitz and also awesome: codesandbox.io

Read more comments on GitHub >

github_iconTop Results From Across the Web

React Sweetalert2 Wrapper - StackBlitz
Starter project for React apps that exports to the create-react-app CLI.
Read more >
How to use sweetalert2 in angular2 - Stack Overflow
Solution given by @yurzui is the only worked with angular2. I tried almost everything. Plunker may go away. i'm putting it here for...
Read more >
angular/angular - Gitter
@sample_twitter anyways, here's the problem: Angular compiles each component into an NgFactory class which contains the code for the template.
Read more >
Nextjs examples - Seba Online
The page uses both Reactjs and Nextjs features to render content. ... In our use case, since the product doesn't change often, we...
Read more >
property 'children' does not exist on type 'intrinsicattributes
React 18 removed the default prop "children". It seems like the library author did not update their props interface to add "children" manually....
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