Shared Without Coupling: A Cross-Framework State Contract Model for Multi-Product E-Commerce Funnels in Angular and React

Authors

  • Althaf Khan Pattan Independent Researcher Exton, Pennsylvania, USA. Author

DOI:

https://doi.org/10.63282/3050-9246.IJETCSIT-V7I2P106

Keywords:

Cross-Framework State Management, Micro-Frontends, Angular Ngrx, React Redux, State Contracts, E-Commerce, Event Bus, Zustand, Multi-Product Platform

Abstract

Managing application state across independently deployed micro-frontends built on different frameworks is one of the harder unsolved problems in large-scale front-end engineering. Most production platforms serving multiple product lines end up with Angular teams using NgRx, React teams using Redux or Zustand, and no clear agreement on how those stores should share data without quietly depending on each other's internals. The result is typically a collection of ad hoc solutions: window globals, duplicated API calls, and undocumented custom event conventions that hold together until something changes and then break in ways that are hard to trace.This paper proposes the Cross-Framework State Contract Model (CFSCM), a structured approach to defining what state gets shared across framework boundaries in a micro-frontend e-commerce platform, how that state flows, and what guarantees each fragment can rely on. The model separates state belonging to a single team's fragment from state that must be visible platform-wide, expressing both as explicit typed contracts rather than informal conventions. A neutral event bus sits between frameworks and enforces those contracts at runtime, so Angular and React fragments never reach into each other's stores.The model is evaluated against a simulated four-fragment platform running Angular NgRx for account flows and React Redux or Zustand for catalog, configuration, and checkout flows. Simulated results show state synchronization latency under 12ms at the 95th percentile, inter-fragment coupling dropping by 62% compared to a window global baseline, and developer onboarding time reducing by an estimated 43% when contracts are documented and enforced. All figures come from simulation and require production validation.

Downloads

Download data is not yet available.

References

[1] D. Abramov and A. Clark, "Redux: A Predictable State Container for JavaScript Applications," GitHub, 2015. [Online]. Available: https://redux.js.org

[2] NgRx Contributors, "NgRx: Reactive State for Angular," GitHub, 2023. [Online]. Available: https://ngrx.io

[3] P. Hnilica, "Zustand: Bear necessities for state management in React," GitHub, 2021. [Online]. Available: https://github.com/pmndrs/zustand

[4] ThoughtWorks, "Micro Frontends," Technology Radar, Nov. 2016. [Online]. Available: https://www.thoughtworks.com/radar/techniques/micro-frontends

[5] M. Geers, Micro Frontends in Action. Shelter Island, NY, USA: Manning Publications, 2020.

[6] C. Jackson, "Micro Frontends," martinfowler.com, Jun. 2019. [Online]. Available: https://martinfowler.com/articles/micro-frontends.html

[7] W3C, "Web Components Specification," W3C Working Draft, 2023. [Online]. Available: https://www.w3.org/TR/components-intro/

[8] MDN Web Docs, "CustomEvent API," Mozilla Developer Network, 2024. [Online]. Available: https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent

[9] Nx Contributors, "Nx: Smart Monorepos - Fast CI," 2024. [Online]. Available: https://nx.dev

[10] M. Fowler, "Consumer-Driven Contracts," martinfowler.com, Jun. 2011. [Online]. Available: https://martinfowler.com/articles/consumerDrivenContracts.html

[11] Micro Frontends, "Micro Frontend Principles," micro-frontends.org, 2023. [Online]. Available: https://micro-frontends.org

[12] A. Leitner, S. Schulte, and U. Zdun, "Micro Frontend Architecture: A Systematic Mapping Study," in Proc. IEEE International Conference on Software Architecture (ICSA), 2021, pp. 112-122.

[13] D. Abramov, "You Might Not Need Redux," Medium, 2016. [Online]. Available: https://medium.com/@dan_abramov/you-might-not-need-redux-be46360cf367

[14] NgRx Team, "NgRx: When Should I Use NgRx?" NgRx Documentation, 2023. [Online]. Available: https://ngrx.io/guide/store/why

[15] M. Fowler, "Technical Debt," martinfowler.com, 2019. [Online]. Available: https://martinfowler.com/bliki/TechnicalDebt.html

Published

2026-04-08

Issue

Section

Articles

How to Cite

1.
Pattan AK. Shared Without Coupling: A Cross-Framework State Contract Model for Multi-Product E-Commerce Funnels in Angular and React. IJETCSIT [Internet]. 2026 Apr. 8 [cited 2026 Apr. 22];7(2):38-45. Available from: https://www.ijetcsit.org/index.php/ijetcsit/article/view/681

Similar Articles

31-40 of 467

You may also start an advanced similarity search for this article.