single-spa-portal-example icon indicating copy to clipboard operation
single-spa-portal-example copied to clipboard

Deprecation warning

Open TheMcMurder opened this issue 5 years ago • 4 comments

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

TheMcMurder avatar Sep 19 '19 23:09 TheMcMurder

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.

OriolInvernonLlaneza avatar Oct 09 '19 09:10 OriolInvernonLlaneza

We have official examples. The link already posted has a collection of them.

TheMcMurder avatar Oct 09 '19 15:10 TheMcMurder

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.

OriolInvernonLlaneza avatar Oct 09 '19 16:10 OriolInvernonLlaneza

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

TheMcMurder avatar Oct 09 '19 17:10 TheMcMurder