since ‎03-07-2016
‎29-08-2020
BaluM
Level 1
Re: AEM SPA React state management
Avatar

BaluM

BaluM
- Adobe Experience Manager
Hi @manising - I just checked in adobe documentation and found below options for data sharing between components. Sharing Information Between SPA ComponentsIt 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.Option 1: Centralize the logic and broadcast to the necessary components for example by using React Context.Option 2: Share component states by us...

Views

755

Likes

0

Replies

0
Re: AEM SPA React state management
Avatar

BaluM

BaluM
- Adobe Experience Manager
Hi Sam, Added to stackoverflow "https://stackoverflow.com/questions/62247563/aem-6-5-spa-react-state-management"

Views

1.1K

Likes

0

Replies

0
AEM SPA React state management
Avatar

BaluM

BaluM
- Adobe Experience Manager
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.

Views

1.3K

Like

1

Replies

5
Re: Update Component Depending on WCMMode in Angular
Avatar

BaluM

BaluM
- Adobe Experience Manager
Hi,AEM will create a cookie with name "wcmmode = (edit/preview)" if your page is opened in edit mode. // Fetch cookie value and compare if (cookieValue === 'edit') {//customcode} else{//customecode} Cookie in edit mode: Cokkie in preview mode:

Views

1.0K

Likes

0

Replies

0
Parsys not appearing with editable template - AEM 6.4.4 with nosamplecontent runmode
Avatar

BaluM

BaluM
- Adobe Experience Manager
Hi,We are getting issue when page created with Editible template where parsys is not showing to edit page. *This issue occurred only if instance created with "production / nosamplecontent " run mode, this is working fine in a lower environment where sample content is available. We are getting the same issue with below sample custom template package. https://github.com/Adobe-Marketing-Cloud/aem-sites-example-custom-template-type Error logs: 19.03.2020 17:34:29.117 *WARN* [10.50.134.19 [1584639269...

Views

540

Like

1

Replies

1
Likes given to
Likes from