Part-7(2022) - DELETE | Reactjs PHP MySql CRUD Operation | ReactJs PHP/MySql Insert Update delete .

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

<Redirect /> has been replaced with <Navigate /> in react-router-dom.

To make Navigate work you can't redirect back to the same route page or it will cause an infinite loop. The simplest "hack" fix for this is to redirect it to "/" and then back to "/view".

To use this hack your code should look exactly like this:
<Navigate to='/' />;
<Navigate to '/view' />;
return;

ChaseLeftwich
Автор

return <redirect to='/view'/> worked for me

nikosgk
Автор

Hello, how to redirect using functional component... Please do reply because i am stuck in middle of nowhere...

DineshVaidyaOfficial
Автор

I can delete but it requires a page refresh everytime I delete a table row ? Help

harisghori
Автор

this.props.obj.sId is undefined for me. How do I solve this?

ethanyuan
Автор

TypeError: is not a function
this error is coming after clicking on delete.

neelmistry
Автор

Error: Request failed with status code 500.

How to solve this error?

jaseerali