React Contact Manager App | CRUD | React JS Tutorial 2022 | NAVEEN SAGGAM

React Contact Manager App | CRUD | React JS Tutorial 2022 | NAVEEN SAGGAM

UiBrains Technologies

2 года назад

45,282 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Taha Ali
Taha Ali - 28.09.2023 14:06

not able to get data into console using useEffect

Ответить
Taha Ali
Taha Ali - 28.09.2023 14:05

hello sir, you are using useEffect to fetch data from json u are doing wrong async
because useeffect return sybchronous not asynchronous

Ответить
SARANYA A
SARANYA A - 14.07.2023 11:49

Why can't you use this db. Json file inside src. Why we have to go for separate folder

Ответить
SARANYA A
SARANYA A - 14.07.2023 09:42

Sir please deploy it in netlify and show us. Am having error after deployed in netlify. I put separate folder for server. Is this the issue. If i run locally by starting both client and server, it is working properly. But after deployment it is not working it cannot able to get /contacts.please help me

Ответить
Kishore kumar
Kishore kumar - 08.05.2023 20:03

Can anyone tell me how to deploy this project ?? Both server part and src-component. I made delopy using npm build and netlify but contact detail is not displaying..pls help

Ответить
Ganapathi Rao Duba
Ganapathi Rao Duba - 23.04.2023 19:18

sir while opening this project in new window , created contacts are not synching. can you clarify this

Ответить
r_rajeshkumar_
r_rajeshkumar_ - 03.03.2023 10:22

sir how do i do this with spring boot please help me

Ответить
Tibor Végh
Tibor Végh - 24.02.2023 00:30

Superb! Tutorial 😊

Ответить
Ben Corbett
Ben Corbett - 20.02.2023 00:12

Thank you sir

💻

Ответить
ShaktiWorld
ShaktiWorld - 16.02.2023 02:40

ty so much sir

Ответить
Balachandran G J
Balachandran G J - 08.02.2023 03:59

i have copied the code
useEffect (effect: async() => {
try {
let response = await ContactService.getAllContacts();
console.log(response.data)
}
catch (error){

}
}, inputs:[])

Ответить
Balachandran G J
Balachandran G J - 08.02.2023 03:58

Deepak Kadela thanks and one more error geeting below code
src/components/contacts/ContactList/ContactList.jsx
Line 11: Parsing error: Unexpected token, expected ","

9 | })
10 |
> 11 | useEffect (effect: async() => {
| ^
12 | try {
13 | let response = await ContactService.getAllContacts();
14 | console.log(response.data)

Ответить
Balachandran G J
Balachandran G J - 07.02.2023 08:48

how to solve this

Ответить
Balachandran G J
Balachandran G J - 07.02.2023 08:48

I am getting an error
Failed to compile.

./src/components/contacts/ContactList/ContactList.jsx
Line 6: Parsing error: The type cast expression is expected to be wrapped with parenthesis.

4 |
5 | let ContactList = () => {
> 6 | let [state,setState] = useState(initialState:{
| ^
7 | loading :false,
8 | contacts : [],
9 | errorMessage : ''

Ответить
Vigneshwaran M
Vigneshwaran M - 27.01.2023 09:40

Hi sir ,thanks for uploading such wonderful content...😍

Ответить
EL Sasox
EL Sasox - 18.01.2023 12:36

this app so ussles

Ответить
Stuart Daniells
Stuart Daniells - 17.12.2022 00:15

To correct the useEffect() hook error - async await part for getting contacts - change your code to:

useEffect(() => {
async function handleResp(){
try{}
catch{}
};

handleResp();
}, []);

-------------------------
New version of react throws errors if you use async () => {}

Ответить
shahil pk
shahil pk - 04.12.2022 13:51

🔥🔥🥰🥰🥰🥰

Ответить
little forest
little forest - 13.11.2022 12:04

thank you

Ответить