Please bear in your mind that I’m newie to the react world.
I’m trying to convert my html page into a react app using Gatsby.
I have managed to inject the foundation’s stylesheet into a react app via the helmet component.
Now, I am trying to inject foundation’s script into the react app and use $(document).Foundstion() to initiate the script.
I have tried many different approaches to this issue. Some of approaches have a brief success and only to fall back to square one. I read that mixing react with jquery is a big no. Unfortunately, foundation depends on jquery.
Any advice on this would be appericated.