Unable to embed a React app as a widget with JavaScript #9058
Unanswered
yogesnsamy
asked this question in
Q&A
Replies: 1 comment
-
Are you able to share a small demo/reproduction of this project? I could take a look for you and see what's happening. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've posted the question on StackOverflow but has not received any response so trying to get some guidance from here.
I tried to embed my react app as a widget into another site with the following code:
It's failing with the following message:
MHubOpenCalculatorWidget.jsx in the react app has the following code (not handling the sent parameters yet):
As a standalone, the react app runs fine:


But fails when called from the other site:
Any tips will be appreciated, many thanks.
Beta Was this translation helpful? Give feedback.
All reactions