React CRUD Operations | Learn React JS

React CRUD Operations | Learn React JS

Dave Gray

2 года назад

30,450 Просмотров

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


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

Vidit Goel
Vidit Goel - 04.10.2023 13:04

thanks a lot for this amazing tutorial!

Ответить
FAISAL EJAZ
FAISAL EJAZ - 16.08.2023 17:30

very well explained thanks Dave

Ответить
Muhammad Ali
Muhammad Ali - 17.07.2023 10:09

this is an excellent tut Mr.Gray! This is so much superior in content than all those paid courses.

Ответить
SSE6
SSE6 - 13.06.2023 12:27

Why i only received id😮 when POST method, item and checked property doesn’t exist? It’s Only update Id.

Ответить
Harsh Jayant Diwase
Harsh Jayant Diwase - 17.05.2023 19:28

why is this becoming so complex for me????

Ответить
Shah
Shah - 13.05.2023 11:20

I found this set of tutorials extremely easy to follow. Thank you so much. Just a suggestion. Are you able to use vite to create your react apps - i had to recreate the setup because i tried doing npm install to get the code to work when i downloaded it and opened the project in vs code and it took a long time and then i couldn't get it up and running . Vite is super fast

Ответить
Sir Sanctified
Sir Sanctified - 09.04.2023 17:34

Loving your tutorials here in Zimbabwe

Ответить
m
m - 25.03.2023 08:20

hi Dave,there is a bug :id can't update.for example:if you delete first item,and add a new item,you'll find id is unordered,just from 2,no id 1.

Ответить
Getnet Getachew
Getnet Getachew - 01.03.2023 08:05

if(result) setFetchError(result) how this line of code for CRUD opperation i.e don't understand flow of code

Ответить
mohammed el houssni
mohammed el houssni - 10.02.2023 13:33

Best teacher thank you Dave

Ответить
Sakib Coder
Sakib Coder - 10.12.2022 20:29

advance congratulation for 100k

Ответить
Dusan Vulic
Dusan Vulic - 30.11.2022 18:39

AWESOME !!!

Ответить
skill krio
skill krio - 17.11.2022 18:12

Dave in this example you were updating the UI and updating the Api. Is it the approach used in production apps or we need to update the api first and update the state. I think you did that intentionally to reduce some time consumption required for that?

Ответить
Abdul Rahman Agboolaosho
Abdul Rahman Agboolaosho - 25.10.2022 09:19

click this link and everything will make sense

Ответить
kamaboko1
kamaboko1 - 07.09.2022 23:00

A lot of info to unpack.

Ответить
Preslav Iliev
Preslav Iliev - 02.09.2022 09:14

Dave, when I try to add item to the json server with the POST request, I am getting an error : "Unexpected token " in JSON at position 0". In my network tab , in the browser where react is opened, I can see the type of the item is 'html' and not json. Would you please tell me how to fix that ?

Ответить
@XIXIYOSHIMAHANKIFIZA2565
@XIXIYOSHIMAHANKIFIZA2565 - 31.08.2022 16:09

const deleteOption = {method: 'DELETE'};
const reqUrl = `${API_URL}/${id}`;
const result = await apiRequest(reqUrl, deleteOption);
if(result) setFetchError(result);

could you please explain how we are deliting here we can not getting delete with any filter array.

Ответить
Daryle Karl De Vera
Daryle Karl De Vera - 27.08.2022 10:11

Nice tutorial, I have learned a lot from you! Thank you for the free tutorial. May I ask how does the apiRequest function assigned the value to the variable "result" when there is no "return" syntax for the variable named "response" inside the apiRequest? I just wanna know so I can understand how it works. I'm really confused. Thank you!

Ответить
Rahees Codenex
Rahees Codenex - 12.08.2022 07:49

Truly Helpful Thankyou Master...

Ответить
eduardo besquin
eduardo besquin - 05.08.2022 23:02

Just finished CRUD operations tutorial. Such an excelllent explantaion.
Thank you so much

Ответить