More unique global variable name than `devToolsExtension`
See original GitHub issueThe chosen global variable name devToolsExtension
in the shared window
namespace is too vague and may easily conflict with other browser extensions.
I suggest to make it explicit and rename it to reduxDevToolsBrowserExtension
.
Yes, this would be a breaking change, but the change will be future-proof and fix the initial name choosing error.
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Global variable in chrome extension's content.js - Stack Overflow
For a chrome extension content script, use this code in. your content script: chrome.runtime.onMessage.addListener(function(msg,sender){ ...
Read more >Python Global Variables – How to Define a ... - freeCodeCamp
The way to change the value of a global variable inside a function is by using the global keyword:
Read more >Store as Global | Down and Dirty with Chrome Developer Tools
The dev tools allow you to pick a scoped variable and automatically store a reference to it globally. This is convenient in debugging...
Read more >Identifying non-default global variables in JavaScript
The easiest and most straightforward way is to get all the default global variables in an empty page in Chrome and compare them...
Read more >Environment Variables in Postman - Tools QA
NOTE: Global scope cannot have duplicate/same names while variables having local scope can have the same name in different environments. For ...
Read more >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
Implemented. Closing in favour of #220.
It could be just
import devToolsExt from 'redux-devtools-extension'
. Just published to npm an alpha release to reserve the name. 😏