Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]

ReactJS / Website integration
Started by prographodeveloper May 07 2019 07:53 AM

- - - - -
1 reply to this topic
react html5 javascript
[TOPIC: post.html]


[GLOBAL: userInfoPane.html]
  • Contributor

  • 298 posts
  • Corona SDK

I compiled my Corona program to HTML5 -- works great.


I now want to embed this into a larger web page, how do I go about doing that?


The rest of the website is done in ReactJS. I have looked at the html output (which is an index.html a .bin file and a .data file) is there some way to turn that into a react component?


I guess I could use an iFrame and just treat the whole thing as separate?

I just need a bit of guidance for the best approach.



[TOPIC: post.html]

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,053 posts
  • Enterprise

I would consider going the iFrame route. You should be able to make a react component, but I assume the .bin and .data files change each time you build and I don't know if that would require you to make new components all the time.



  • prographodeveloper likes this


Also tagged with one or more of these keywords: react, html5, javascript