File tree Expand file tree Collapse file tree 1 file changed +42
-2
lines changed Expand file tree Collapse file tree 1 file changed +42
-2
lines changed Original file line number Diff line number Diff line change 1
- # Migration from version 3
1
+ # Migration from version 4.1 to 4.2
2
+
3
+ In version 4.2 we updated "react-scripts" to 5.0.0 and "react-router-dom" to 6.2.1
4
+
5
+ Please check also React Router 6 migration guide https://reactrouter.com/docs/en/v6/upgrading/v5
6
+
7
+ ## Updated files
8
+
9
+ - .browserlistrc
10
+ - eslintrc.js
11
+ - package.json
12
+ - src/App.js
13
+ - src/App.test.js
14
+ - src/index.js
15
+ - src/setupTests.js
16
+ - src/components/AppBreadcrumb.js
17
+ - src/components/AppHeader.js\
18
+ removed ` activeClassName: 'active', ` from NavLink, because React Router Dom 6 doesn't support it
19
+ - src/components/AppSidebarNav.js\
20
+ removed ` activeClassName: 'active', ` from NavLink, because React Router Dom 6 doesn't support it
21
+ - src/components/index.js
22
+ - src/layout/DefaultLayout.js
23
+
24
+ ## Removed files
25
+
26
+ - src/serviceWorker.js is removed use src/reportWebVitals.js
27
+ - src/components/AppContent.js\
28
+ Routes map has been moved to src/App.js
29
+
30
+ ## Dependencies and devDependencies
31
+
32
+ ### Removed
33
+
34
+ - @wojtekmaj/enzyme-adapter-react-17 ,
35
+ - enzyme
36
+
37
+ ### Added
38
+
39
+ - @testing-library/jest-dom
40
+ - @testing-library/react
41
+ - @testing-library/user-event
42
+ - web-vitals
2
43
3
- https://coreui.io/react/docs/4.0/migration/v4/
You can’t perform that action at this time.
0 commit comments