-
-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uncaught (in promise) LoadJS #51
Comments
What's the error you're getting? Also, which OS/Browser are you using? |
I am using chrome/windows 10, file loads on first load but when navigated back to same route where I am loading file, I get error "Uncaught (in promise) LoadJS" and js file does not load. |
Can you share code to re-create the error on JSFiddle or CodePen? By "navigating back" do you mean hitting the back button? |
Its single page application , I mean without refresh. |
Can you share code to reproduce the error? Does the I need more information to be able to debug the problem or recommend a work-around. |
Is there anything that I have to do in componentWillUnmount to load files when there is not a refresh between pages i.e for single page app |
Based on your description I can't make any recommendations. If you can share some example code I can help you diagnose the problem. Can you paste the code into GitHub?
… On Jul 19, 2017, at 12:32 PM, Swapnilchavan18 ***@***.***> wrote:
Is there anything that I have to do in componentWillUnmount to load files when there is not a refresh between pages i.e for single page app
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
ok Thanks . give me some time, I am using that in my personal project, I will create fiddle |
got the same exact error when loading
|
@Sharl212 Thanks for letting us know. Can you share some example code that reproduces the problem? |
@Sharl212 @Swapnilchavan18 Based on your description of the problem I think the issue might be that each call to In your code, are you defining a bundle name when you call |
loadjs(['https://test.com/js/fuploader.js'], 'photouploader');
while trying to load java-script file, I am getting error on single page react application.
The text was updated successfully, but these errors were encountered: