question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

An `import` context is lost when it is used in the evaluated code

See original GitHub issue

An 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:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:13 (4 by maintainers)

github_iconTop GitHub Comments

5reactions
miherlosevcommented, Oct 24, 2019

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.

3reactions
smyls1commented, Oct 23, 2019

Hello, we are in limbo as well, may we please get an update, thank you for the help.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found