single-spa-portal-example
single-spa-portal-example copied to clipboard
Deprecation warning
Hey @me-12 I'm one of the single-spa maintainers. We frequently get questions about this repo but are unable to make changes to it. If you are willing would you please add a deprecation warning on the readme? Maybe something that points to our example page?
https://single-spa.js.org/docs/examples.html
Hi @TheMcMurder, If this repo is no longer updated and you can't modify it, would it be too much to ask for an "official" version of this example? I'd love to make it myself but it seems I'm not smart enough to make it work :smile: Thanks for your attention and for providing us with single-spa.
We have official examples. The link already posted has a collection of them.
Thanks for your quick answer. I know you have some good examples, however, I was refering to an example of Single-SPA+Redux like this one or one about the inter-app communication method you recommend as good practices.
Ps: the link to demo-single-spa-with-spax example is broken.
We do have examples of inter-app communication, it's even by the same name as this one in the examples area. It just doesn't use redux in the child apps but that doesn't matter as how each registered application manages it's own state isn't a concern for single-spa at all.
this linked to example follows what we believe to be best practice for sharing data between applications after a few years of using micro-services in the browser: take a look at how I'm using a service to share data between two different applications (100% around network requests in my application but that concept could be scaled into more complex sharing solution if necessary)
If you have additional questions let's take this out of this repo and into the slack channel, it doesn't serve anyone to continue this here as I (and others on the single-spa maintainers team) don't want this un-maintained repo to become another area where we provide support.
https://single-spa.js.org/docs/faq.html#how-can-i-share-application-state-between-applications