[SalesForce] Lightning Components Do NOT Use React

The combination of Lightning Component and React is NG?
Is my understanding of this correct?

https://developer.salesforce.com/page/Requirements_Checklist

Use of third party MV * frameworks is not currently supported with
Lightning. Any Lightning package that uses Angular or React or other
third party DOM-based templating frameworks will automatically fail
the security review until such time as we provide custom lightning
components to properly encapsulate these frameworks. This is to avoid
template injection attacks resulting from double interpolation. In
order to use another framework as part of a package that uses
Lightning, please use an iframe or Visualforce container until
approved Lightning containers are published.

Best Answer

This is correct. Please use only one framework (Lightning). If you want to use React, you can do so in an iframe or in a VF page. If we do support React in the future, it would be with a custom component to properly separate it our from Lightning.

UPDATE: I'd like to point out that we may well support React and other frameworks in the future. In this case, please check the Requirements Checklist and our Secure Coding guidelines for lists of approved third party frameworks and secure usage instructions.

Related Topic