I have one very general, slightly nebulous question, which is basically: does anybody have any tips on building apps (board views, dashboard widgets, etc.) using more than just React, and specifically integrating code written in jQuery or plain javascript into the default React infrastructure?
I’m fairly new to web development in general, and don’t have much experience in using these tools in isolation, let alone trying to combine them! There seem to be plenty of pitfalls, both in the coding, and in the use of the build tools.
My other question is related, but more specific. Combining React and plain javascript, the only way I have so far been able to get the sdk working in both is to load it twice. That is, in addition to the automatically generated (by following the quickstart example procedure) import and monday = mondaySdk() code in App.js, I’ve added two script blocks -
src=…/main.js and mond= mondaySdk() to index.html, so that I can access the api via the mond object in my non-react js files.
This seems to be working fine, but I was wondering if there could be any problems doing it this way, and if there is a better alternative.
Please excuse the newbie nature of my questions!
Colin.