redux package installed

parent 0ff8c322
......@@ -3,6 +3,7 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@reduxjs/toolkit": "^2.2.0",
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
......@@ -16,6 +17,7 @@
"mongodb": "^6.3.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-redux": "^9.1.0",
"react-scripts": "5.0.1",
"typescript": "^4.9.5",
"web-vitals": "^2.1.4"
......@@ -25,7 +27,7 @@
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"server":"node --watch server"
"server": "node --watch server"
},
"eslintConfig": {
"extends": [
......
import React, { memo } from 'react';
import React, { memo, useState } from 'react';
import axios from 'axios';
const Home = memo(() => {
return (
<div>
Hello
Home
</div>
);
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment