micro-frontends icon indicating copy to clipboard operation
micro-frontends copied to clipboard

Any ETA for navigation reference?

Open prasshantg opened this issue 4 years ago • 4 comments

I am looking for reference to develop wizard using micro-frontends. I suppose the navigation reference should cover it. Do you have any ETA for it? Or any documentation how to achieve it?

prasshantg avatar May 06 '20 05:05 prasshantg

I would also be interested in continuing the topic

16pxdesign avatar Sep 27 '20 22:09 16pxdesign

Two years later...

dkowis avatar Mar 01 '23 16:03 dkowis

+1 interested in the topic as well

teone avatar Apr 01 '23 00:04 teone

I've done navigations by changing the window.location within a custom event handler to load the page of the new location.

Event handler: window.location.href = "https://mysite.com?my_arg=fun-times"

Otherwise, you're behaving like a single page app and changing the DOM per custom event handling or an async POST/GET to the server, but not loading a page entirely. Perhaps even modifying the URL like you see when clicking an anchor link that jumps to a location but doesn't load from the server.

The concept is similar to other things mentioned in the artile:

  1. Use the DOM API to load a new page within a custom event handler
  2. Or use SPA behavior, modifying the DOM to make an illusion of a new page
  3. Modify URL if necessary (and implement custom events for navigating backwards or forwards)

brent8642 avatar Dec 24 '23 06:12 brent8642