Is there any repo that is up to date for using React with AEM? | Community
Skip to main content
Level 2
May 3, 2022
Solved

Is there any repo that is up to date for using React with AEM?

  • May 3, 2022
  • 1 reply
  • 829 views

Hello, 

I am littered with errors and deprecated packages when using the WKND SPA repo and following the Adobe's documentation to implement an SPA. There are always issues either in the ui.frontend with package version collisions or packages in Maven that are not resolving. Are there any reliable resources to implement an up to dat SPA in AEM or are we stuck with deprecated packages and packages not resolving in the frontend? Any tutorials or repos with clean code and working packages would be greatly appreciated. 

 

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 WasilZee

The one I tested on my local latest(as of today) AEMaaCS SDK is "React - WKND SPA 1.0.3"[1]. You may fetch it as follows :

 

$ git clone git@github.com:adobe/aem-guides-wknd-spa.git
$ cd aem-guides-wknd-spa
$ git checkout React/latest
$ mvn clean install -PautoInstallSinglePackage

If we follow along with the tutorials on https://experienceleague.adobe.com/docs/experience-manager-learn/getting-started-with-aem-headless/spa-editor/react/overview.html?lang=en one may likely make a mistake. Don't hesitate to validate and check out the final latest working solution[1]. For deprecated packages/vulnerabilities, fix them with npm audit[2]. In case of any issues, feel free to log a ticket.

 

[1] https://github.com/adobe/aem-guides-wknd-spa/releases

[2] https://docs.npmjs.com/auditing-package-dependencies-for-security-vulnerabilities

1 reply

WasilZeeAdobe EmployeeAccepted solution
Adobe Employee
May 24, 2022

The one I tested on my local latest(as of today) AEMaaCS SDK is "React - WKND SPA 1.0.3"[1]. You may fetch it as follows :

 

$ git clone git@github.com:adobe/aem-guides-wknd-spa.git
$ cd aem-guides-wknd-spa
$ git checkout React/latest
$ mvn clean install -PautoInstallSinglePackage

If we follow along with the tutorials on https://experienceleague.adobe.com/docs/experience-manager-learn/getting-started-with-aem-headless/spa-editor/react/overview.html?lang=en one may likely make a mistake. Don't hesitate to validate and check out the final latest working solution[1]. For deprecated packages/vulnerabilities, fix them with npm audit[2]. In case of any issues, feel free to log a ticket.

 

[1] https://github.com/adobe/aem-guides-wknd-spa/releases

[2] https://docs.npmjs.com/auditing-package-dependencies-for-security-vulnerabilities