kubetail-org / loadjs

A tiny async loader / dependency manager for modern browsers (899 bytes)
MIT License
2.57k stars 149 forks source link

Remove from Cache and Dom when leaving a component react #83

Open ghost opened 5 years ago

ghost commented 5 years ago

Let' say that i'm using React js or Angular js, is it possible that i remove a script loaded into the DOM usingloadjswhen i'm leaving a component. So that i can avoid redundant script tags when routing. i get alot of script tags as i navigate routes