Skip to Content
The Art of Micro Frontends
book

The Art of Micro Frontends

by Florian Rappl
June 2021
Beginner to intermediate
310 pages
6h 41m
English
Packt Publishing
Content preview from The Art of Micro Frontends

Chapter 10: SPA Composition

In the previous chapters, we had a glimpse of how micro frontends can be composed just using the browser without any active backend support. Most of the time, this way becomes really interesting with increased user interactivity.

Today, single-page applications (SPA) offer this tool-like kind of application that many experiences target. Combining multiple components from standard SPA frameworks such as Angular or React is described with the SPA composition pattern.

The key factor for a SPA is that routing is not done on the server, but rather in the frontend. Routing in JavaScript requires techniques such as taking the URL's hash or controlling the history API of HTML5. Then older features such as AJAX can be used ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

The Art of Clean Code

The Art of Clean Code

Christian Mayer
Generative AI Design Patterns

Generative AI Design Patterns

Valliappa Lakshmanan, Hannes Hapke

Publisher Resources

ISBN: 9781800563568Supplemental Content