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

fix parcel appendTo #199

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

fix parcel appendTo #199

wants to merge 1 commit into from

Conversation

SeverS
Copy link

@SeverS SeverS commented Oct 14, 2023

Hi,
This pr fixes #157 by swapping the lines L50 with L51 in parcel.js

Minimal repro repository:
https://github.com/SeverS/single-spa-react-repro
gh-pages:
https://severs.github.io/single-spa-react-repro/

As you can see on gh-pages the button parcel works as expected when inline but when you click it it will throw an error in the console and the 'modal' parcel will never be mounted.

@changeset-bot
Copy link

changeset-bot bot commented Oct 14, 2023

🦋 Changeset detected

Latest commit: f0d2495

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
single-spa-react Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@SeverS
Copy link
Author

SeverS commented Oct 17, 2023

gm @MilanKovacic , can you help me adding the reviewers to this pr? thanks a lot!

@MilanKovacic MilanKovacic self-requested a review October 18, 2023 16:15
@MilanKovacic
Copy link
Contributor

Hi, thank you for submitting the pull request. I will take a look. While waiting for the release, I recommend using https://www.npmjs.com/package/patch-package.

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 this pull request may close these issues.

Parcel appendTo appears to be broken
2 participants