The problem is that I would like to make a timeout function on my page.
I have a silverlight app and a new react app in the page.
This 2 "apps" need to have a common timer variable that I can in React read and display a <Div>
if time is more then 10min.
The SilverLight app can call a JS function on every click. This works, but I'm not able to call a function inside the webpack bundled file??
Is it not possible to reach functions from a js function in a <script>
from html side??
Do I have to send the Silverlight click time to the server and then do a ajax call from React every 1min or so to see if the Silverlight has been active? (does not sound like a good approach) Hope you can point me in the right direction or show me a good way to solve this problem for me :) and remember I'm new to react and webpack so I'm not able to use the right google words to find the solution myself.