React js Hindi Tutorial #22 Routing

React js Hindi Tutorial #22 Routing

Code Step By Step

4 года назад

56,340 Просмотров

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


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

@user-bx3gw4kd7b
@user-bx3gw4kd7b - 30.06.2023 09:32

Awesome Video

Ответить
@akashprashar3615
@akashprashar3615 - 24.01.2023 11:42

for latest router let's try this
import {BrowserRouter as Router,Routes,Route,Link} from 'react-router-dom';

<Router>
<Link to=''> Home </Link>
<Link to='/about'> About </Link>
<Link to='/forms'> Forms </Link>


<Routes>
<Route path='' element={<Home />}/>
<Route path='/about' element={<About/>} />
<Route path='/forms' element={<Forms/>} />
</Routes>

</Router>

Ответить
@AkhileshYadav-lv3kh
@AkhileshYadav-lv3kh - 29.12.2022 06:35

Thank you sir 👍👍

Ответить
@jyotishukla3532
@jyotishukla3532 - 13.12.2022 12:56

Please make a video by speaking loudly..ur voice is weak..

Ответить
@smitpatel4004
@smitpatel4004 - 16.11.2022 12:56

kya sikhate ho

Ответить
@akashingale1998
@akashingale1998 - 12.11.2022 21:17

how to solve this question


Implement the following requirements with the help of React Router's <Link> -


On clicking the <h2> with id topics-item, it should take us to the route /topics.

The /topics route contains a back button with id topics-back-button. On clicking this button, it should take us back to the / (root) route.

The /topics route contains two topics - Components and Rendering. On clicking any of the topic, it should take us to /topics/${topic_clicked} route.

Each of the topics - Components and Rendering contain a back button. On clicking the back button, it should take us back to the /topics route

Ответить
@venkateshvadde9272
@venkateshvadde9272 - 13.10.2022 10:14

Its not working bro as you told above code

Ответить
@saurabhgautam6890
@saurabhgautam6890 - 02.10.2022 00:17

import { BrowserRouter as Router, Link, Routes, Route } from 'react-router-dom';
<Router>
<Link to="">Home</Link>
<Link to="/About">About</Link>
<Routes>
<Route exact path="/" element={<HomePage/>} />
<Route path="/About" element={<About/>} />
</Routes>
</Router>

it will work like this
hope it helps

Ответить
@Shivamashish5236
@Shivamashish5236 - 19.09.2022 09:21

Good one 👍🏻

Ответить
@dipalijitiya2008
@dipalijitiya2008 - 08.07.2022 10:19

if <Route> do not respond, try to write it in parent component <Routes>. Hope it can help to someone.

Ответить
@abhishekkumargupta4533
@abhishekkumargupta4533 - 03.07.2022 12:37

I followed all step and write same code but i have an issue... There was no any compiling error but still on web not showing any think blank page show ... Why ....

Ответить
@parth1450
@parth1450 - 09.05.2022 12:40

Thanks for video
One question which command you use for commenting the code of jsx?

Ответить
@sanjaybarad3523
@sanjaybarad3523 - 04.02.2022 10:25

routing on condition, (useHistory)

Ответить
@hanumanwange9533
@hanumanwange9533 - 30.08.2021 19:18

What is Routing
Make 3 components
Install Routing Package
Import Package
Write Code for Routing
Check Output

Ответить
@bhagyashripatwardhan6210
@bhagyashripatwardhan6210 - 27.04.2021 14:58

please increase voice

Ответить
@siddharthasharma2240
@siddharthasharma2240 - 17.02.2021 07:13

Kya koi aisa example hai jisme react js Ke table ka single column ko link send render karo to new page open hojayega? Ispe Ek video upload Kare?

Ответить
@mama126you
@mama126you - 24.01.2021 17:34

You are not well aware about functionality of basic DOM parsing.

Ответить
@rmmulla1270
@rmmulla1270 - 30.12.2020 09:09

Nice video

Ответить
@UdayPawarUdi
@UdayPawarUdi - 29.11.2020 15:18

Epic sound at 6.44 sec 😂😂😂

Ответить
@parmodverma1827
@parmodverma1827 - 08.09.2020 10:48

show the about.js page in this video ,you are only showing form.js and App.js page.

Ответить
@Malika-qi8bm
@Malika-qi8bm - 19.08.2020 20:02

good explanation

Ответить
@adarshrathi8265
@adarshrathi8265 - 05.07.2020 20:36

Bhai routing link use to ho Raha haa but google analytic pa without page reloading only 1 page hi show ho Raha ha multiple website pages par Bhi .every pages not show in analytics .what can I do help.

Ответить
@9swastik
@9swastik - 20.04.2020 07:25

Could you plz show About.js

Ответить
@YadavTechs
@YadavTechs - 26.01.2020 15:31

Could you please explain how to use redirect or syntax to use it? Example : If I login success from login component now after that just I want to redirect on another component(Dashboard) ?

Ответить
@boogameplays8381
@boogameplays8381 - 12.10.2019 16:02

Sir I'm waiting for next video

Ответить