Expand my Community achievements bar.

SOLVED

AEM SPA React state management

Avatar

Level 2

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.

 

 

 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Level 3

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

View solution in original post

5 Replies

Avatar

Level 6

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

Avatar

Correct answer by
Level 3

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

Avatar

Level 2

Hi @manising - 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.