We are developing a React app and using Sisense.js. sisense.js is included using a <script> tag and then the component that renders the dashboard calls Sisense.connect() when it is mounted.
Whenever Sisense.connect is called, the route (url) displayed in the browser address bar is updated to the previous route which is affecting the behavior of the app.
Does anyone know why calling Sisense.connect() would update the route/url and if there is a way to prevent this behavior?
Note: Previously we were dynamically loading sisense.js and adding it to the DOM like the React example on gitlab does. https://gitlab.com/SisenseJS/react-sample. When we did it this way we did not have the problem but using the <script> tag makes the code much cleaner and we don't have the delay of loading the script when the component renders.
Please sign in to leave a comment.