React tutorial in Hindi #20 Pass Function as Props

  Рет қаралды 64,402

Code Step By Step

Code Step By Step

3 жыл бұрын

In this react js tutorial for beginners series we learn how to pass function as a props in child component in react js. This video is made by anil Sidhu in the Hindi Language.
Playlist for complete React series in Hindi
link • React tutorial for beg...
code github.com/anil-sidhu/react-1...
Make child component
Make a function for pass as props
pass function as props
call function from child component
why this is important
Interview Question
Join on Insta @php.step.by.step

Пікірлер: 45
@user-tu4ng7hq5y
@user-tu4ng7hq5y 10 ай бұрын
Kar sakty hen 😊 acha concept tha bro 😊
@famousvideos612
@famousvideos612 Ай бұрын
Achi video banai sir❤❤❤
@sushilkumar-ef7gh
@sushilkumar-ef7gh 3 жыл бұрын
Superchild me bhi function pass or sakte hai ,but using context will be more beneficial than props
@unemployedcse3514
@unemployedcse3514 2 жыл бұрын
Awesome ❤️
@umairali2360
@umairali2360 2 жыл бұрын
good one
@vikaskashyap7500
@vikaskashyap7500 Жыл бұрын
yes, super child ke andar bhi props call kar sakte hain but woh child ke parents ke through pass karna padega
@abhishekdabiya5301
@abhishekdabiya5301 2 ай бұрын
@abhishekdabiya5301
@abhishekdabiya5301 2 ай бұрын
Thank you sir
@Pandeyjitendra12
@Pandeyjitendra12 2 жыл бұрын
Every video make easier to learn react and all are very useful. Thank you sir
@myaccount3062
@myaccount3062 3 ай бұрын
Yes we can send function using props to nested child component from child component
@RajdeepSingh-pu5mj
@RajdeepSingh-pu5mj 11 ай бұрын
bhaiya can you tell me how you create new branches without adding some files of master branches in all your new branches in github repository because i have an issue that whenever i creating new branches then all files of master branches will be added autometically in my new branches please help me or creating a video about this issue
@PROTECHRAHUL
@PROTECHRAHUL Жыл бұрын
Child component se agar koi function data return kar rha h toh parent component me kaise use kare us data ko
@chotu5706
@chotu5706 Жыл бұрын
❤❤❤
@hamzalatif6265
@hamzalatif6265 5 ай бұрын
G han bilkul superchild ko bhi pass kar sakty hain
@Creator-cl6vs
@Creator-cl6vs Жыл бұрын
class component se bhi function pass kar sakte hai
@ShubhamKumar-us3nh
@ShubhamKumar-us3nh Ай бұрын
🔴
@simple8810
@simple8810 2 жыл бұрын
yes we can pass function to super child e.g we have component in User component So then we will use like this now button in Greet components will be button Greet clicking button greet will have the same output as button in user
@newid7919
@newid7919 2 жыл бұрын
sir kya hum app.js se props send kr k child component mai button banakar app.js mai name ya koi bhi value change kr skte h plz explain
@theroyalthings
@theroyalthings Жыл бұрын
@@newid7919 Yes offCourse, but apko parent component me logic define kr ni pry gi than child me as a props call kr lain...
@abcxyz5618
@abcxyz5618 2 жыл бұрын
Sir why it is giving error uncought typeError props.data is not a function
@user-tu4ng7hq5y
@user-tu4ng7hq5y 10 ай бұрын
Porps ko send karen or usko accept kar k phir use karen component me then resolve ho nae ga error
@ankitupadhyay8029
@ankitupadhyay8029 3 жыл бұрын
kr skte hai same jaise isme humne call kiya waise hum super child m bhi kr skte hai....
@codestepbystep
@codestepbystep 3 жыл бұрын
Right
@jayeshtak2530
@jayeshtak2530 Жыл бұрын
Bhai toda code flow samjha shi se ....Overall good series
@shaqeeb.shaikh2400
@shaqeeb.shaikh2400 2 жыл бұрын
Interview questions not recorded properly
@AasifKhan-xt6os
@AasifKhan-xt6os 3 жыл бұрын
smj aa gya bt multipal function kese pass krege ek hi tym m
@sompuraproduction
@sompuraproduction 3 жыл бұрын
Bhai object me pass kr do na multiple functions, jese hm variables pass krte he wese.
@sushilkumar-ef7gh
@sushilkumar-ef7gh 3 жыл бұрын
Use rest operator
@sciencekesadhan1107
@sciencekesadhan1107 Жыл бұрын
stone age teaching bro...use plug in dude
@kinzaeman377
@kinzaeman377 2 жыл бұрын
shabashhhh putarr
@zaingoraya3461
@zaingoraya3461 2 жыл бұрын
G oo Putra
@kodakstudiowebs
@kodakstudiowebs 3 жыл бұрын
How can we send multiple functions by props?
@codestepbystep
@codestepbystep 3 жыл бұрын
use multiplay props aur combine all function in single prop
@kodakstudiowebs
@kodakstudiowebs 3 жыл бұрын
@@codestepbystep can you please make one video on this topic..
@codestepbystep
@codestepbystep 3 жыл бұрын
@@kodakstudiowebs okay, just after some video, i will
@kodakstudiowebs
@kodakstudiowebs 3 жыл бұрын
@@codestepbystep thanks.. because base strong hone pe hi aage ka samjh aaega
@ektarana4483
@ektarana4483 3 жыл бұрын
Sir button ka sath 2 page link react ma kesa krta hai plzz reply me
@codestepbystep
@codestepbystep 3 жыл бұрын
Condition ke sath ?
@ektarana4483
@ektarana4483 3 жыл бұрын
@@codestepbystep sir espa ek KZbin tutorial video bnaka smjha Dena plz sir important hai
@ektarana4483
@ektarana4483 3 жыл бұрын
@@codestepbystep sir app smjha data to asa smjha nhi aaya
@codestepbystep
@codestepbystep 3 жыл бұрын
Okay
@ektarana4483
@ektarana4483 3 жыл бұрын
@@codestepbystep thanks sir ji
@ShubhamKumar-us3nh
@ShubhamKumar-us3nh Ай бұрын
🟨
React tutorial in Hindi  #21 What is life cycle method
6:08
Code Step By Step
Рет қаралды 77 М.
React tutorial in Hindi #17 Handle Form | checkbox | input field | select
11:34
Alat Seru Penolong untuk Mimpi Indah Bayi!
00:31
Let's GLOW! Indonesian
Рет қаралды 15 МЛН
Did you believe it was real? #tiktok
00:25
Анастасия Тарасова
Рет қаралды 51 МЛН
ReactJS: 3 Ways Components Passes Data (Complete Tutorial w/ Demo)
8:48
A Software Engineer
Рет қаралды 34 М.
Full React Tutorial #13 - Functions as Props
4:31
Net Ninja
Рет қаралды 257 М.
React tutorial in Hindi #18 Conditional rendering | If Condition
8:11
Code Step By Step
Рет қаралды 77 М.
Understanding Props in ReactJS
19:53
Piyush Garg
Рет қаралды 11 М.
React tutorial in Hindi #10 Click event and function in ReactJs
9:54
Code Step By Step
Рет қаралды 113 М.
Passing Data from a Parent Component to Child Component in React JS
11:11
React tutorial in Hindi #40 useMemo Hook
8:51
Code Step By Step
Рет қаралды 97 М.
Learn useState In 15 Minutes - React Hooks Explained
15:45
Web Dev Simplified
Рет қаралды 1,1 МЛН
Alat Seru Penolong untuk Mimpi Indah Bayi!
00:31
Let's GLOW! Indonesian
Рет қаралды 15 МЛН