Skip to content

Commit a97ab8a

Browse files
authored
Merge pull request #6 from flatlogic/update
update project
2 parents 7ed6a38 + 46494fe commit a97ab8a

File tree

4 files changed

+53
-47
lines changed

4 files changed

+53
-47
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Built with [React](https://facebook.github.io/react/), [Material-UI](https://mat
1111

1212
## Features
1313

14-
- React (**17.0.2**)
14+
- React (**18.2.0**)
1515
- React Hooks
1616
- React Context
1717
- **No jQuery and Bootstrap!**

changelog.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
# [2.3.3] - 16/05/2023
4+
5+
- Update dependencies
6+
- Update react version
7+
38
# [2.3.2] - 20/07/2022
49

510
- Fix ecommerce editing

package.json

Lines changed: 43 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "react-material-full",
33
"description": "React Material Admin Full",
4-
"version": "2.3.2",
4+
"version": "2.3.3",
55
"private": true,
66
"homepage": "./",
77
"scripts": {
@@ -12,26 +12,26 @@
1212
"format": "prettier --write src/"
1313
},
1414
"dependencies": {
15-
"@emotion/react": "^11.8.2",
16-
"@emotion/styled": "^11.8.1",
17-
"@fullcalendar/daygrid": "^5.11.0",
18-
"@fullcalendar/interaction": "^5.11.0",
19-
"@fullcalendar/list": "^5.11.0",
20-
"@fullcalendar/react": "^5.11.1",
21-
"@fullcalendar/timegrid": "^5.11.0",
22-
"@mdi/js": "^6.7.96",
23-
"@mdi/react": "^1.6.0",
24-
"@mui/icons-material": "^5.5.1",
25-
"@mui/material": "^5.5.1",
26-
"@mui/styled-engine-sc": "^5.4.2",
27-
"@mui/styles": "^5.6.2",
28-
"@mui/x-data-grid": "^5.6.1",
29-
"@mui/x-date-pickers": "^5.0.0-alpha.1",
30-
"apexcharts": "^3.35.2",
31-
"axios": "^0.21.1",
15+
"@emotion/react": "^11.11.0",
16+
"@emotion/styled": "^11.11.0",
17+
"@fullcalendar/daygrid": "^5.11.5",
18+
"@fullcalendar/interaction": "^5.11.5",
19+
"@fullcalendar/list": "^5.11.5",
20+
"@fullcalendar/react": "^5.11.5",
21+
"@fullcalendar/timegrid": "^5.11.5",
22+
"@mdi/js": "^6.9.96",
23+
"@mdi/react": "^1.6.1",
24+
"@mui/icons-material": "^5.11.16",
25+
"@mui/material": "^5.13.0",
26+
"@mui/styled-engine-sc": "^5.12.0",
27+
"@mui/styles": "^5.12.3",
28+
"@mui/x-data-grid": "^5.17.26",
29+
"@mui/x-date-pickers": "^5.0.20",
30+
"apexcharts": "^3.40.0",
31+
"axios": "^0.21.4",
3232
"babel-eslint": "10.1.0",
33-
"classnames": "^2.2.6",
34-
"connected-react-router": "^6.0.0",
33+
"classnames": "^2.3.2",
34+
"connected-react-router": "^6.9.3",
3535
"css-loader": "2.1.1",
3636
"date-fns": "2.28.0",
3737
"eslint": "^6.8.0",
@@ -40,33 +40,33 @@
4040
"font-awesome": "^4.7.0",
4141
"formik": "2.2.9",
4242
"history": "4.10.1",
43-
"jsonwebtoken": "^8.5.1",
43+
"jsonwebtoken": "^9.0.0",
4444
"line-awesome": "^1.3.0",
4545
"lodash": "^4.17.21",
46-
"moment": "2.29.1",
47-
"mui-datatables": "^4.2.2",
46+
"moment": "2.29.4",
47+
"mui-datatables": "^4.3.0",
4848
"prop-types": "^15.8.1",
4949
"query-string": "7.1.0",
50-
"react": "^17.0.2",
50+
"react": "^18.2.0",
5151
"react-apexcharts": "^1.4.0",
52-
"react-dom": "^17.0.2",
52+
"react-dom": "^18.2.0",
5353
"react-google-maps": "^9.4.5",
54-
"react-redux": "^7.2.4",
55-
"react-router-dom": "^5.2.0",
54+
"react-redux": "^7.2.9",
55+
"react-router-dom": "^5.3.4",
5656
"react-scripts": "3.4.3",
5757
"react-simple-maps": "^0.12.1",
5858
"react-sortablejs": "^1.5.1",
5959
"react-swipeable-views": "^0.14.0",
6060
"react-swipeable-views-utils": "^0.14.0",
61-
"react-syntax-highlighter": "^11.0.2",
62-
"recharts": "^2.1.10",
63-
"redux": "^4.0.5",
64-
"redux-thunk": "^2.3.0",
61+
"react-syntax-highlighter": "^11.0.3",
62+
"recharts": "^2.6.2",
63+
"redux": "^4.2.1",
64+
"redux-thunk": "^2.4.2",
6565
"sortablejs": "^1.15.0",
66-
"tinycolor2": "^1.4.2",
67-
"typescript": "^4.1.2",
66+
"tinycolor2": "^1.6.0",
67+
"typescript": "^4.9.5",
6868
"url-loader": "2.3.0",
69-
"yup": "^0.32.9"
69+
"yup": "^0.32.11"
7070
},
7171
"eslintConfig": {
7272
"extends": "react-app"
@@ -79,16 +79,16 @@
7979
],
8080
"devDependencies": {
8181
"@babel/helper-call-delegate": "7.11.4",
82-
"@testing-library/jest-dom": "^5.11.4",
83-
"@testing-library/react": "^11.1.0",
84-
"@testing-library/user-event": "^12.1.10",
85-
"@types/jest": "^26.0.15",
86-
"@types/node": "^12.0.0",
87-
"@types/react": "^17.0.0",
88-
"@types/react-dom": "^17.0.0",
89-
"@types/sortablejs": "^1.13.0",
82+
"@testing-library/jest-dom": "^5.16.5",
83+
"@testing-library/react": "^14.0.0",
84+
"@testing-library/user-event": "^14.4.3",
85+
"@types/jest": "^29.5.1",
86+
"@types/node": "^20.1.5",
87+
"@types/react": "^18.2.6",
88+
"@types/react-dom": "^18.2.4",
89+
"@types/sortablejs": "^1.15.1",
9090
"cross-env": "^7.0.3",
9191
"eslint-plugin-css-modules": "^2.11.0",
92-
"sass": "^1.45.0"
92+
"sass": "^1.62.1"
9393
}
9494
}

src/index.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react';
2-
import ReactDOM from 'react-dom';
2+
import ReactDOM from 'react-dom/client';
33
import axios from 'axios';
44
import { createStore, applyMiddleware, compose } from 'redux';
55
import ReduxThunk from 'redux-thunk';
@@ -45,7 +45,9 @@ export const store = createStore(
4545
compose(applyMiddleware(routerMiddleware(history), ReduxThunk)),
4646
);
4747

48-
ReactDOM.render(
48+
const root = ReactDOM.createRoot(document.getElementById('root'));
49+
50+
root.render(
4951
<Provider store={store}>
5052
<LayoutProvider>
5153
<UserProvider>
@@ -66,7 +68,6 @@ ReactDOM.render(
6668
</UserProvider>
6769
</LayoutProvider>
6870
</Provider>,
69-
document.getElementById('root'),
7071
);
7172

7273
// If you want your app to work offline and load faster, you can change

0 commit comments

Comments
 (0)