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.

More unique global variable name than `devToolsExtension`

See original GitHub issue

The 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:closed
  • Created 7 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
zalmoxisuscommented, Oct 4, 2016

Implemented. Closing in favour of #220.

2reactions
zalmoxisuscommented, Sep 1, 2016

It could be just import devToolsExt from 'redux-devtools-extension'. Just published to npm an alpha release to reserve the name. 😏

Read more comments on GitHub >

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

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