mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-26 07:59:48 +03:00
Create dull-cats-end.md
This commit is contained in:
parent
180a19efa6
commit
a904efb571
18
.changeset/dull-cats-end.md
Normal file
18
.changeset/dull-cats-end.md
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
---
|
||||||
|
"@redux-devtools/extension": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
v3.0.0 had an unintentional breaking change of changing the location of the secondary entrypoints. These secondary exports are now exported from the main entrypoint (https://github.com/reduxjs/redux-devtools/pull/1075) and should be imported like so:
|
||||||
|
```diff
|
||||||
|
- import { composeWithDevTools, devToolsEnhancer } from 'redux-devtools-extension/developmentOnly';
|
||||||
|
- import { composeWithDevTools, devToolsEnhancer } from 'redux-devtools-extension/logOnly';
|
||||||
|
- import { composeWithDevTools, devToolsEnhancer } from 'redux-devtools-extension/logOnlyInProduction';
|
||||||
|
+ import {
|
||||||
|
+ composeWithDevToolsDevelopmentOnly,
|
||||||
|
+ devToolsEnhancerDevelopmentOnly,
|
||||||
|
+ composeWithDevToolsLogOnly,
|
||||||
|
+ devToolsEnhancerLogOnly,
|
||||||
|
+ composeWithDevToolsLogOnlyInProduction,
|
||||||
|
+ devToolsEnhancerLogOnlyInProduction,
|
||||||
|
+ } from '@redux-devtools/extension';
|
||||||
|
```
|
Loading…
Reference in New Issue
Block a user