Check out example codes for "How do i destroy a prefab without the error?". It will help you in understanding the concepts better.

Code Example 1

//You could try making a copy

public GameObject example;


GameObject exampleCopy = example
Instantiate(exampleCopy, //wherever you want)
Destroy(exampleCopy)

Learn ReactJs, React Native from akashmittal.com