How to add and remove Script tag on a when a specific component is called in React JS?

  dynamic, javascript, loading, react-helmet, reactjs

I’ve been trying to make something in react js but there is an issue disturbing me for the past 2 weeks that is, Sometime a script does not load so I want to load it when my specific component is called in which that script is used as well as remove it. I’ve tried React Helmet but it doesn’t work for footer it only goes for Head Tag. Kindly tell me as soon as possible because it is Kinda urgent.

Source: Ask Javascript Questions

LEAVE A COMMENT