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

Support transitions between microfrontends #11

Closed
joeldenning opened this issue May 1, 2020 · 9 comments
Closed

Support transitions between microfrontends #11

joeldenning opened this issue May 1, 2020 · 9 comments

Comments

@joeldenning
Copy link
Member

Not sure what the API or functionality will be for this yet. Some reading to help brainstorm - https://router.vuejs.org/guide/advanced/transitions.html

@helumalai
Copy link

Some of the things that are critical for us is being able to use the same micro-app in different routes. We have a way of data transfer or message bus to pass information between the micro-apps to reset their states.
Right now, if there is an error the route transition doesn't happen smoothly. So, error handling should be part of this feature that happens when there is an error how to handle route transition.

@joeldenning
Copy link
Member Author

Hi @helumalai, thanks for adding your perspective here.

Right now, if there is an error the route transition doesn't happen smoothly.

Could you help me understand what this means? What kind of error is happening, and how is the route transition not happening smoothly? Which framework are you using?

@helumalai
Copy link

@joeldenning sorry for the late response. We're using Nx workspace for our root application and the code is in the simplest form of Angular. Recently I figured that its to do the data resolution before the page is displayed because we build the Html page with apps lists dynamically pulled from the DB. So, was hoping there was an error handling of message display when an app is not being able to load correctly.

@helumalai
Copy link

helumalai commented Sep 16, 2020

At some point, I'm hoping to share a GitHub sample project with Nx workspace, Angular root application, and single spa micro apps since there isn't much help out there if we choose a framework like Angular/React for the root application.

@joeldenning
Copy link
Member Author

So, was hoping there was an error handling of message display when an app is not being able to load correctly.

I see. Handling application errors is being tracked in #49. The issue here being discussed is showing a UI while successfully transitioning between routes.

@joeldenning
Copy link
Member Author

Closing due to inactivity

@helumalai
Copy link

@joeldenning Sorry for not continuing with this. Would you still like to follow up with this one?

@helumalai
Copy link

@joeldenning One of the behaviors that we noticed with the Angular root application is, if something goes wrong the microapps get loaded directly to the DOM instead of their respective positions in the HTML file.

@joeldenning
Copy link
Member Author

I'm open to the feature, don't have plans to work on it in the near future

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

2 participants