Jump to content

Using SpotFire JavaScript API with React TypeScript


Ileana Deloge

Recommended Posts

  • 3 months later...

Hi Ileana,

 

I can't comment on TypeScript, but in order to get this to work in a plain React app, I had to download the Spotfire JavaScript API and make updates since it is outdated EcmaScript 5 code and it fails strict mode. I added an export statement at the bottom and I changed 15 places in the code that modified the built-in arguments object. Refer to my comment here:

 

https://community.spotfire.com/wiki/spotfire-tipstricks-embed-spotfire-visualizations-webpages#comment-61906

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...