Upgrade AEM react libraries with typescript

daf99

14-09-2020

Hello everyone,

I'm working in a project  AEM SPA with ReactJS, since last week i have a warning when i am building the project because AEM react libraries that i am using are deprecated.
After reading about this new libraries, i realise that besides the package renaming also it were introduced in the new versions support to typescript, and thats is very interesting because i am using typescript in my project.
After i done the changes below, i have a lot of errors in my typescript validation because i have to use the new typsecripts types.

 

"@adobe/cq-react-editable-components": "1.2.0",
"@adobe/cq-spa-component-mapping": "1.0.3",
"@adobe/cq-spa-page-model-manager": "1.1.1"
To

"@adobe/aem-react-editable-components": "1.0.4",
"@adobe/aem-spa-component-mapping": "1.0.5",
"@adobe/aem-spa-page-model-manager": "1.0.3"

 

I tried to find some documentation to help me in this migration, but i am not able to find in this forum or in the aem documentation some documents with support for AEM with reactjs and typescript. 
Do you know where to find some documentation or someone that already have done the migration for the new libraries?

Accepted Solutions (0)

Answers (0)