single-spa / single-spa-examples

Examples of single-spa applications.
https://single-spa.surge.sh
MIT License
359 stars 128 forks source link

Get feedback on new demo site #7

Closed joeldenning closed 7 years ago

joeldenning commented 7 years ago

Need some feedback on how helpful the demo is and where it could be improved.

joeldenning commented 7 years ago

@TheMcMurder what are your thoughts on this? https://single-spa.surge.sh is the live demo, and the source code can be found here.

Would love to hear feedback

TheMcMurder commented 7 years ago

This is awesome. I was initially confused by webpack card linking to the react app until I noticed the more vertical icon, that's a nice touch.

I'm going to spend some more time looking at the code tomorrow.

TheMcMurder commented 7 years ago

Okay I've been going through the code for a while. This is dead simple. One thing that I think would be an awesome addition would be a feature to show the different apps in the UI.

I'd suggest something like a button that when clicked adds a blue border to all React apps and a red border to all Angular apps.

That way you can show a simple "Here's how they can communicate"

I'm looking an how to implement that so you don't have to, it may take a bit as I'm still working through the learning curve.

joeldenning commented 7 years ago

👍 that's great feedback, I like the idea of a button that puts colored borders around apps. And for the inter-app communication part, I think that would be a great thing to do in the "Parts of the page written in one framework, while other parts use a different framework." example that is still not finished.

I've created two issues for those things:

mirandaleandro commented 7 years ago

Firstly, Joel, this demo is so much better than what you had before. Thank you for putting this together for the community. I don't have anything greatly important to give you as feedback, so I will be very picky on my input to you. I hope that you will like it!

Cosmetics

Code

Probably more than half of this feedback is useless. They might sound as critics but it is just caring =) I want to reiterate that I think single-spa as one of the most brilliant/simple ideas that have seen lately. I think your examples are pointed to the right direction and are very helpful already. In the software business, there are no limits for improvements, though.

I do want to help! If you create issues for some of those items, and are willing to take my pull requests, I will jump in and do them.

Thank you very much.

joeldenning commented 7 years ago

@mirandaleandro thanks that's great feedback. I've created the following issues and would love if you helped out with them:

The ones I didn't create issues for: