Check out example codes for "How to load plugin scripts in roblox studio command". It will help you in understanding the concepts better.

Code Example 1

game:GetService("InsertService"):LoadAsset(ID,true).Parent = workspace

Learn ReactJs, React Native from akashmittal.com