How can we covert HTML to JSX then convert it to equivalent native JS | Community
Skip to main content
September 8, 2016
Solved

How can we covert HTML to JSX then convert it to equivalent native JS

  • September 8, 2016
  • 2 replies
  • 2025 views

    We are trying to integrate Reactjs in AEM. We are interested in getting page in form of native JS from AEM. Any pointers on how can we do this?

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 kautuk_sahni

Hi 

 

For React JS in AEM, 

See this article using Angular with sightly :-

Link 1:- https://helpx.adobe.com/experience-manager/using/vanitypath.html

Link 2:- https://helpx.adobe.com/experience-manager/using/AngularJS.html

 

AEM integration modules with reactjs

Link 3:- https://www.npmjs.com/package/aem-react-js

Link 4:- https://github.com/sinnerschrader/aem-react

Link 5:- https://github.com/sinnerschrader/aem-react-js

 

You can try this online tools for HTML to JSX,

Link:- http://magic.reactjs.net/htmltojsx.htm

 

And for JSX to JS

Link:- https://www.npmjs.com/package/jsx-to-js

 

I hope this would help you.

~kautuk

2 replies

kautuk_sahni
kautuk_sahniAccepted solution
Employee
September 9, 2016

Hi 

 

For React JS in AEM, 

See this article using Angular with sightly :-

Link 1:- https://helpx.adobe.com/experience-manager/using/vanitypath.html

Link 2:- https://helpx.adobe.com/experience-manager/using/AngularJS.html

 

AEM integration modules with reactjs

Link 3:- https://www.npmjs.com/package/aem-react-js

Link 4:- https://github.com/sinnerschrader/aem-react

Link 5:- https://github.com/sinnerschrader/aem-react-js

 

You can try this online tools for HTML to JSX,

Link:- http://magic.reactjs.net/htmltojsx.htm

 

And for JSX to JS

Link:- https://www.npmjs.com/package/jsx-to-js

 

I hope this would help you.

~kautuk

Kautuk Sahni