AEM SPA React state management | Community
Skip to main content
BaluM
Level 2
June 6, 2020
Solved

AEM SPA React state management

  • June 6, 2020
  • 4 replies
  • 3679 views

Hi All,

We are working on AEM 6.5 SPA using React as frontend(project created using archetype 23).

 

Can we use any state management frameworks like Redux in AEM to support data share between pages/components?

Or AEM SDK can be used to achieve this requirement

 

Thanks in advance.

 

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by ms114

@balum I think in AEM the redux states are managed by sling models JSON export of the pages, so it should work

4 replies

Level 6
June 7, 2020

Short answer, both of your questions are possible, for long answer, post it to Stackoverflow, I can explain in more details

BaluM
BaluMAuthor
Level 2
June 7, 2020
ms114Adobe EmployeeAccepted solution
Adobe Employee
June 8, 2020

@balum I think in AEM the redux states are managed by sling models JSON export of the pages, so it should work

BaluM
BaluMAuthor
Level 2
June 9, 2020

Hi @ms114 - I just checked in adobe documentation and found below options for data sharing between components.

 

Sharing Information Between SPA Components

It is regularly necessary for components within a single-page application to share information. There are several recommended ways of doing this, listed as follows in increasing order of complexity.
October 15, 2020

.