-
Notifications
You must be signed in to change notification settings - Fork 36
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
Using via import
/ require()
#24
Comments
Solution: Rename index entry file to bootstrap and put it to new index file:
It will be loaded before the 'react-dom' module, it's a temporary, but working solution to use it without access to HTML markup. |
I consider that's a required functionality in some cases. It can't be polyfilled in some cases / scenarios, e.g. for React Native support (#11). I'm going to add such a functionality. I can't say ETA for sure, but maybe in next 1-2 months. |
For a clarification, it's not about NPM availability (it's available) but about issues related to using (injecting) with require / import. |
import
/ require()
It would be really convenient if the connection to the tracker can be initiated via an npm package import instead of a
script
tag (similarly to howreact-devtools
does it).I'm trying to optimize a program running in an iframe and this would be perfect for that.
The text was updated successfully, but these errors were encountered: