Can you use Sitecore JSS components with Sitecore MVC components in the same Experience Editor page? If this does work, does it work with dynamic placeholders?

An example might be adding a Experience Editor configurable Sitecore JSS component to an existing Sitecore website with editable pages composed with Sitecore MVC components.

Another might be a blended team of Sitecore MVC developers building your average Sitecore components. Then you might have FEDs who want to build a complex component which needs to consume data from various APIs outside of Sitecore, but has label, text etc configurable from Sitecore and sits in the flow of the page.

I'm sure answering your own question is frowned upon but after reading all the documentation and watching the videos i think i can confirm 'YES', you can. Hope this saves someone else some time. If i've got this wrong please do correct me.

See example https://jss.sitecore.net/#/cookbook/recipes/embedded-wizard-sample

This module rocks!

  • 2
    Answering your own question is most certainly acceptable :) – techphoria414 Mar 5 at 14:41
  • 3
    I'll add that this is the only way to mix the two at the this time, since it allows the MVC and JSS to render independently, then come together on the client side. – techphoria414 Mar 5 at 14:44
  • Great thanks @techphoria414 :) – Adamsimsy Mar 6 at 0:47

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.