File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -117,6 +117,11 @@ export function connect(config = {}) {
117117
118118export function updateStore ( stores ) {
119119 return function ( newStore , instanceId ) {
120+ /* eslint-disable no-console */
121+ console . warn ( '`devToolsExtension.updateStore` is deprecated, remove it and just use ' +
122+ '`__REDUX_DEVTOOLS_EXTENSION_COMPOSE__` instead of the extension\'s store enhancer: ' +
123+ 'https://github.com/zalmoxisus/redux-devtools-extension#12-advanced-store-setup' ) ;
124+ /* eslint-enable no-console */
120125 const store = stores [ instanceId || Object . keys ( stores ) [ 0 ] ] ;
121126 // Mutate the store in order to keep the reference
122127 store . liftedStore = newStore . liftedStore ;
Original file line number Diff line number Diff line change 11export default function openWindow ( position ) {
22 /* eslint-disable no-console */
33 console . warn ( 'Redux DevTools Extension\'s window was opened as ' +
4- '`window.devToolsExtension.open()` was called from the app . ' +
5- 'Remove this command for better experience.' ) ;
4+ '`window.devToolsExtension.open()` was called. ' +
5+ 'Remove this command from your code for better experience.' ) ;
66 /* eslint-enable no-console */
77 window . postMessage ( {
88 source : '@devtools-page' ,
You can’t perform that action at this time.
0 commit comments