An `import` context is lost when it is used in the evaluated code
See original GitHub issueAn imported url will be resolved relative a page url instead of a script url.
var f = new Function('w', 'return import(w);');
f('./123.js')
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:13 (4 by maintainers)
Top Results From Across the Web
React context lost on reload when loading it with useContext ...
After hot reload, useContext no longer returns the context, I assume the whole context is lost, haven't tried it with a normal consumer....
Read more >Require cycles are allowed, but can result in uninitialized ...
Problem: Let's say the evaluation starts now with module C. Since it imports something from module B and it has not been evaluated...
Read more >Error codes for optional checks - mypy 0.991 documentation
Check that types have no Any components due to missing imports [no-any-unimported] If you use --disallow-any-unimported , mypy generates an error if a ......
Read more >What is context API? - Educative.io
UseReducer is similar to useState and is used as an alternative to useState . UseReducer accepts a reducer function with the parameters (state,...
Read more >Context Managers and Python's with Statement
This method typically provides the teardown logic or cleanup code, such as calling .close() on an open file object. That's why the with...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Our developers will look into this issue in one of the next sprints. You will be automatically notified once we make progress. Your patience is greatly appreciated.
Hello, we are in limbo as well, may we please get an update, thank you for the help.