A
A
Alexander2017-06-13 14:19:34
React
Alexander, 2017-06-13 14:19:34

How organically can you fit a third-party script into a react application?

I use a third party script in my application. The documentation only has examples with static files like index.html and script tags.
So far, I'm importing it as a separate script and calling it through a separately written function, and passing the elements over which this script performs actions to the function.
But in such code it is easy to get confused, how can everything be made more obvious?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question