Hey Ziga — currently there are no typescript definitions for parcels, but I’d be happy to accept contributions for them. I see you created a github issue https://github.com/CanopyTax/single-spa-react/issues/44 — let’s track progress there.
Apologies for the extremely slow response. I check github issues more frequently than medium articles.
Is this still an issue for you? Feel free to open a github issue at https://github.com/CanopyTax/single-spa with any further questions, issues, or discussion
apologies for the slow response — we monitor the github issue queues a lot more closely than the medium responses. Did you get it figured out? Feel free to reopen the github issue you linked to or create more issues in the future with more questions.
Happy to hear you got things working!
If you’d like to learn more about parcels, check out https://github.com/CanopyTax/single-spa/blob/4.0/spec/parcels/mount-root-parcel.spec.js#L6-L20. It is a test that shows how parcels can be used. You pass in the dom element when you mount the parcel…
I had fun looking over FrameJS — it took me a while to get around to this because I wanted to dedicate some good time to it so I could give more valuable feedback.
I created https://github.com/framejs/framejs/issues/6 with some thoughts and questions about it!
Nice work on it!
Great question! You do not need to bring them all into one code repository, nor do you need to build them together or even deploy them together.
At Canopy, we had the same problem that you described— multiple SPAs. Once we built single-spa, we merged the SPAs together. However, we kept it so that each one has its own code…
Thanks for putting that google doc together! It looks like the problem might just be a simple typo. This part of the code:
singleSpa.registerApplication('app-1', () => import('../app1/app1.js'), () => ture) misspells the word
true which throws the error. Can you try changing it from
true to see if that…