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

Sharing state outside of monorepo #1

Closed
kahboom opened this issue Jul 29, 2022 · 1 comment
Closed

Sharing state outside of monorepo #1

kahboom opened this issue Jul 29, 2022 · 1 comment

Comments

@kahboom
Copy link

kahboom commented Jul 29, 2022

So far, most examples I've seen of state sharing across two separate apps is with a monorepo, so the apps import each other quite easily. Are there any examples of showing separately published applications interacting with one another? I suppose I should ask, is this even possible?

For example, I have a host app that exports one specific component, and I'd like to publish the typings for it on npm. Can my other app simply use that library to make calls back to the host app, assuming it's set up properly on Webpack for module federation?

Just curious, and I'd be happy to write a blog post or contribute an example if it would be helpful to others as well.

@kahboom
Copy link
Author

kahboom commented Jul 29, 2022

@kahboom kahboom closed this as completed Jul 29, 2022
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

No branches or pull requests

1 participant