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

Initial implementation #1

Merged
merged 9 commits into from
Jul 29, 2019
Merged

Initial implementation #1

merged 9 commits into from
Jul 29, 2019

Conversation

joeldenning
Copy link
Member

This is for (usually older) codebases that leak global variables that might conflict when switching between single-spa applications. The most common case for this is variables related to angularjs.

The idea is that we store the global variables in an object and then put them on the window during mount and take them off the window during unmount.

},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know I know 😄

Copy link

@TheMcMurder TheMcMurder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🐙

"babel-jest": "^24.8.0",
"husky": "^3.0.1",
"jest": "^24.8.0",
"prettier": "^1.18.2",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😮

@joeldenning joeldenning merged commit 8a5bac7 into master Jul 29, 2019
@joeldenning joeldenning deleted the initial-impl branch July 29, 2019 16:03
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.

2 participants