Expand my Community achievements bar.

Attention: Experience League Community will undergo scheduled maintenance on Tuesday, August 20th between 10-11 PM PDT. During this time, the Community and its content will not be accessible. We apologize for any inconvenience this may cause.

Is it possible to have a AEMaaC site using a mix of standard core components and react components?

Avatar

Level 2

Just want to see what others may think,

Say I have a Reactor project and it contains 2 projects,

1. Standard AEM Core components built off of the Archetype.

2. SPA components for React built off of the Archetype.

 

Can I use the components to create pages for the website? I would probably used different template for each set of components.

 

Has anyone done this?

 

Thanks in advance

Topics

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

2 Replies

Avatar

Community Advisor

@WalterHill_WV Yes, this is definitely possible. Also, you can even use both fully React and fully HTL based components on the same Template.

Avatar

Community Advisor

Hi, 

Here are my 2 cents, you must keep in mind that SPA components are designed to work with the SPA Editor, while WCM Core components are intended for use with the Page Editor. As a result, you cannot mix both types on a single page. Although theoretically possible, IMHO combining these two approaches—one fully headful (Page Editor) and the other using the SPA pattern—may not be advisable, it can be hard to maintain, hard to deploy, hard to understand, and will introduce a confusing authoring experience. However, I am curious about the results of this experiment.

 

Hope this helps!



Esteban Bustamante