Tag scripts in React

Asked

Viewed 143 times

0

How do I put javascript tags in React?

I have this tag to put on a project

<script data-cfasync='false' type='text/javascript' src='link'></script>

It’s an ad tag.

Browser works. However, I don’t know how to insert in React.

Can someone help me?

  • I believe it is not possible to do what you need, maybe you can use Webview https://facebook.github.io/react-native/docs/webview.html

  • I found this site: https://www.npmjs.com/package/react-load-script I’ll try to see.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.