# US 2024/0394082 A1 · Complex, dynamic routing for nested runtime micro front ends

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2024/0394082 A1
- Document ID: US20240394082A1
- Status: Published application
- Kind: A1
- Application number: 18/794,136
- Filed: 2024-08-05
- Published: 2024-11-28
- Earliest claimed: 2021-07-20
- Assignees: Capital One Services, LLC
- Applicants: Capital One Services, LLC
- Inventors: Jonathan RICKLIS
- Web page: https://patentgrep.com/patent/US20240394082A1

## CPC

- G06F 9/45529: {Embedded in an application, e.g. JavaScript in a Web browser}
- G06F 9/451: Execution arrangements for user interfaces
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Provided herein are systems and method for providing routing of complex dynamically updated website applications using micro front ends (MFEs). The MFEs can be instantiated in a nested fashion. Each MFE can be agnostic to other levels of the website application structure that are not directly adjacent to the MFE in the hierarchy of the nesting. Navigation events can be bubbled up to a shell application to retain top-level control of routing within the website application without requiring the shell application to have all levels of routing in the hierarchy.

## Claims

### Claim 1

A method, comprising:
parsing, in a shell application of a web application, a uniform resource locator (URL) for the web application into a first route label and unmatched portions;
loading, in the shell application, a first micro front end (MFE) of the webpage application based on the first route label;
sending, by the shell application, the unmatched portions to the first MFE; and
loading, by the first MFE, a second MFE nested in the first MFE, wherein the second MFE and the shell application are agnostic to one another.

### Claim 2 (depends on 1)

The method of claim 1, wherein loading the second MFE comprises loading the second MFE using a second route label, the second route label being based on the unmatched portions.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
generating, in the second MFE, a navigation event in response to activation of a link in the second MFE, the navigation event identifying the link;
sending, by the second MFE, the navigation event to the first MFE;
sending, by the first MFE, the navigation event to the shell application; and
navigating, in the shell application, to a new URL based on the link.

### Claim 4 (depends on 3)

The method of claim 3, further comprising:
parsing, in the shell application, the new URL into an updated first route label and new unmatched portions;
loading, in the shell application, the first MFE based on the updated first route label;
sending, by the shell application, the new unmatched portions to the first MFE; and
loading, by the first MFE, a third MFE nested in the first MFE, wherein the third MFE and the shell application are agnostic to one another.

### Claim 5 (depends on 1)

The method of claim 1, further comprising loading, in the shell application, a third MFE based on one of the first route label or a third route label that is parsed from the URL.

### Claim 6 (depends on 1)

The method of claim 1, further comprising loading, in the first MFE, a third MFE nested in the first MFE separate from the second MFE, wherein the third MFE and the shell application are agnostic to one another.

### Claim 7 (depends on 1)

The method of claim 1, wherein loading the second MFE nested in the first MFE further comprises:
loading, in the first MFE, a first MFE tab as an active tab associated with the second MFE; and
loading, in the first MFE, a second MFE tab as an inactive tab associated with a third MFE.

### Claim 8 (depends on 7)

The method of claim 7, further comprising:
in response to activating the second MFE tab, generating, in the first MFE, a navigation event to a new URL specified by the second MFE tab;
sending, by the first MFE, the navigation event to the shell application; and
navigating, in the shell application, to the new URL.

### Claim 9 (depends on 8)

The method of claim 8, further comprising:
parsing, in the shell application, the new URL into an updated first route label and new unmatched portions;
loading, in the shell application, the first MFE based on the updated first route label;
sending, by the shell application, the new unmatched portions to the first MFE; and
loading, in the first MFE, the third MFE nested in the first MFE based on a route label determined from the new unmatched portions, wherein the third MFE and the shell application are agnostic to one another.

### Claim 10 (depends on 9)

The method of claim 9, further comprising loading, in the first MFE, the first MFE tab as the inactive tab and the second MFE tab as the active tab.

### Claim 11

A method, comprising:
receiving, at a first micro front end (MFE), first uniform resource locator (URL) data parsed from a URL;
determining, in the first MFE, a first route label for a second MFE based on the first URL data; and
loading, by the first MFE, the second MFE nested in the first MFE based on the first route label, wherein the second MFE is agnostic to a parent application of the first MFE and the parent application is agnostic to the second MFE.

### Claim 12 (depends on 11)

The method of claim 11, further comprising
generating, in the second MFE, a navigation event in response to activation of a link to a new URL in the second MFE, the navigation event identifying the link;
sending, by the second MFE, the navigation event to the first MFE; and
sending, by the first MFE, the navigation event to the parent application.

### Claim 13 (depends on 12)

The method of claim 12, further comprising:
receiving from the parent application, in the first MFE, second URL data parsed from the new URL.
determining, in the first MFE, a second route label for a third MFE based on the second URL data; and
loading, by the first MFE, the third MFE nested in the first MFE based on the second route label, wherein the third MFE and the parent application are agnostic to one another.

### Claim 14 (depends on 11)

The method of claim 11, further comprising loading, in the first MFE, a third MFE separate from the second MFE and based on one of the first route label or a second route label determined by the first MFE from the first URL data.

### Claim 15 (depends on 11)

The method of claim 11, wherein loading the second MFE nested in the first MFE further comprises loading a first MFE tab as an active MFE tab associated with the second MFE and loading a second MFE tab as an inactive tab, the second MFE tab is associated with a third MFE.

### Claim 16 (depends on 15)

The method of claim 15, further comprising:
in response to activating the second MFE tab, generating, in the first MFE, a navigation event to a new URL specified by the second MFE tab; and
sending, by the first MFE, the navigation event to the parent application.

### Claim 17 (depends on 16)

The method of claim 16, further comprising:
receiving from the parent application, in the first MFE, second URL data parsed from the new URL;
determining, in the first MFE, a second route label for the third MFE based on the second URL data; and
loading, by the first MFE, the third MFE nested in the first MFE based on the second route label, wherein the third MFE is agnostic to the parent application and the parent application is agnostic to the third MFE.

### Claim 18 (depends on 17)

The method of claim 17, further comprising loading, in the first MFE, the second MFE tab as the active MFE tab and the first MFE tab as the inactive tab.

### Claim 19

A system, comprising:
one or more processors;
memory communicatively coupled to the one or more processors, the memory storing instructions which, when executed by the one or more processors, cause the one or more processors to:
provide a shell application configured to:
navigate to a uniform resource locator (URL) by:
parsing the URL into a first route label and unmatched portions, the first route label corresponding to a first micro front end (MFE);
loading the first MFE based on the first route label; and
sending the unmatched portions to the first MFE;
provide the first MFE configured to:
receive the unmatched portions from the shell application;
determine a second route label from the unmatched portions, the second route label corresponding to a second MFE;
load the second MFE based on the second route labels; and
provide the second MFE;
wherein the shell application, the first MFE, and the second MFE together are configured to provide a web application that can be run in a browser; and
wherein the shell application is agnostic to the second MFE and the second MFE is agnostic to the shell application.

### Claim 20 (depends on 19)

The system of claim 19, wherein:
the second MFE is further configured to:
generate a first navigation event in response to a second MFE link in the second MFE being activated; and
in response to the first navigation event being generated, send the second navigation event to the first MFE;
the first MFE is further configured to in response to receiving the first navigation event from the second MFE, send the first navigation event to the shell application; and
the shell application is further configured to:
receive the first navigation event from the first MFE; and
in response to receiving the first navigation event, navigate to a new URL based on the first navigation event.
