React Router Tutorial - 6 - Navigating Programmatically

React Router Tutorial - 6 - Navigating Programmatically

Codevolution

2 года назад

117,283 Просмотров

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


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

Annabelle Swan
Annabelle Swan - 15.11.2023 11:11

Thank you so much for your amazing lessons !!! This is exactly what I've searched for !!! ❤

Ответить
ULTRA GAMERS VK
ULTRA GAMERS VK - 27.09.2023 11:13

very useful video

Ответить
Rutdvaj rawal
Rutdvaj rawal - 26.09.2023 14:40

Thank you so much

Ответить
Perikles Periklesoğlu
Perikles Periklesoğlu - 02.08.2023 20:59

thank you

Ответить
Morteza
Morteza - 23.07.2023 18:40

Ty so much man, this is exactly what I've been looking for

Ответить
ARIVAZHAGAN S
ARIVAZHAGAN S - 07.07.2023 01:53

Ответить
binh chau
binh chau - 21.06.2023 13:21

thank you so much

Ответить
Ishadi Hanadapangoda
Ishadi Hanadapangoda - 17.05.2023 07:45

Problem solved. Thank you

Ответить
Pratikshya Nayak
Pratikshya Nayak - 15.05.2023 14:08

I have 2 tabs in a same page. In the first tab I have a table. How to navigate to the 2nd tab On click of one of the table column value?

Ответить
Fact Nuggets
Fact Nuggets - 27.02.2023 20:54

Why don't use <button><NavLink to='order-summary'>Place Order</Navlink></button> instead. Please correct me if I am wrong.

Ответить
Eymeric le bohec
Eymeric le bohec - 28.12.2022 00:40

Great !

Ответить
Alliswell
Alliswell - 25.12.2022 12:12

Thank you so much ❤️

Ответить
hawks
hawks - 17.12.2022 21:08

Niceeee!

Ответить
Psyfer Inc.
Psyfer Inc. - 01.10.2022 21:18

ufff i cant believe that at episode 6 the whole routing system i thought i knew was debunked.

Ответить
Praveen Jat
Praveen Jat - 02.09.2022 10:29

Thanks

Ответить
Ajit Arora
Ajit Arora - 28.08.2022 11:40

Thanx I got my solution

Ответить
Elsayed Abdullah
Elsayed Abdullah - 25.08.2022 15:53

Thanks a lot 🙏

Ответить
rajnandani bhawsar
rajnandani bhawsar - 07.08.2022 12:00

how to use in class componet

Ответить
Aurangzeb Ali
Aurangzeb Ali - 03.08.2022 18:43

Sir,
How to use class component this.navigate?

Ответить
Mahesh Gandharv
Mahesh Gandharv - 24.06.2022 11:12

sir i have a issue,when i click a button and navigate another route then auto scrolling in this page,,can you resolve my issue?...

Ответить
Vũ Xuân Huy
Vũ Xuân Huy - 16.05.2022 16:08

video6 => done!

Ответить
Sonu Sah
Sonu Sah - 16.05.2022 08:42

Thank you sir.....for explaining difficult concepts in such a simplified manner

Ответить
Ivan Juarez
Ivan Juarez - 12.05.2022 18:05

Nice tutorial, you are Rock!

Ответить
PRAJJWAL RODGER MASSEY
PRAJJWAL RODGER MASSEY - 02.05.2022 07:10

where does that hyphen come from in 'order-summary' can anyone please help?

Ответить
shivam Dalania
shivam Dalania - 06.04.2022 08:50

Can't we use "useHistory" hook to move to previous page

Ответить
ali abbani
ali abbani - 02.03.2022 21:08

This man is just amazing.

Ответить
Akash Gupta
Akash Gupta - 24.02.2022 11:19

I got it, but suppose on click on place order button I'm making an API call after getting a response from backend then I want to execute "useNavigate" how I achieve this, i'm doing like this but getting an error

const navigate = (a) => {
console.log("API call is done", a);
useNavigate();
};

<button onClick={() => navigate("order-summary")}>Place order</button>

Error Message : React Hook "useNavigate" is called in function "navigate" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter react-hooks/rules-of-hooks

Ответить
Jayashri Borse
Jayashri Borse - 08.02.2022 09:22

Thank you so much! I understood clearly!

Ответить
Amit Prakash
Amit Prakash - 24.01.2022 07:37

Hi, how can I navigate to some path after form submission in a class component? I'm using this.props.history.push("/"); but it is not working. Can anybody please help me?

Ответить
Rajitha K
Rajitha K - 19.01.2022 19:04

Is order summary work in About component after routing to it?

Ответить
JASH GOPANI
JASH GOPANI - 13.01.2022 08:28

How can we pass props to order summary with navigate method

Ответить
Prakash
Prakash - 13.01.2022 06:27

I sooo love your videos. Always straight to the point. You are an awesome teacher.

Ответить
Abdullah Babor
Abdullah Babor - 12.01.2022 16:02

Thanks

Ответить
Md Abu Raihan
Md Abu Raihan - 12.01.2022 10:13

Excellent!

Ответить
Nagaraj Ck
Nagaraj Ck - 12.01.2022 09:52

Can we use useNavigate hook within class Component?

Ответить
Julian Ifesiokwu
Julian Ifesiokwu - 12.01.2022 09:36

This was done so easily. Very good work. Keep it up.

Ответить
Rishi Raj
Rishi Raj - 12.01.2022 08:48

👍🙏

Ответить