bhai kya ham state aur props ko functional component ke saath har jagah use kar sakte hain? ya aisa koi case hai jaha pe class component hi use karna padega?
Sir as you told we can not change props in the child component but I think we can do it with the help of setState and useState. Can you clarify? And if yes then will the value passed by a prop from parent component will also change as state maintains it self
concept ye haiii class component me ya function component me value change nahi kar sakte hame unke parent component me se jahan se props pass kar rahe hai wahi se value change krte hai , agar function component wala concept se krege state chnage to hame app .js me same wahi code likhe ge vrna app.js ko class component jaisa banaemge fir contructor ka use karke this.setstae karke value change hoga .... bro please las ke 4 video state and props dhyan se dekhna ek ek line sunna time lagega , mera 5 hour laga but aab aaya
bhaiya, whenever i try to use class component , it's showing blank white screen in localhost:3000....I used functional component its working perfectly but in case of class component, its displaying a white screen. can you solve it ? i tried everything.
bro in child file like student file it must have some error therefore it is not execute it don't worry , again read it and solve the problem step by step
"kya aap ye kar sakte ho??".. "Ji NAHI AAP YE nhi KAR SAKTE" .. love these lines ❤️
Thank you
😂😂
sir watched many video for state and props but concept clears now . Thank u Sir 🙏🙏
BESTTTTTTTESTTTTT
Very briefly explained.. Thank you🤗
bhai kya ham state aur props ko functional component ke saath har jagah use kar sakte hain?
ya aisa koi case hai jaha pe class component hi use karna padega?
Sir as you told we can not change props in the child component but I think we can do it with the help of setState and useState. Can you clarify? And if yes then will the value passed by a prop from parent component will also change as state maintains it self
concept ye haiii
class component me ya function component me value change nahi kar sakte hame unke parent component me se jahan se props pass kar rahe hai wahi se value change krte hai , agar function component wala concept se krege state chnage to hame app .js me same wahi code likhe ge vrna app.js ko class component jaisa banaemge fir contructor ka use karke this.setstae karke value change hoga ....
bro please las ke 4 video state and props dhyan se dekhna ek ek line sunna time lagega , mera 5 hour laga but aab aaya
Bro... want more videos on you started series of ecommerce laravel. hope you do it..
Noted
thank you bro...
props.children use h1of student
Sir, redux ki jo playlist hai aage wali wo updated version ki hi hena ?? Aap new series banane wale ho sir redux ki ?? ki wo hi letest hai
Whi latest h bhai. Kuch din phle hi bnai hai
@@codestepbystep ok thanks
yes pass kar sakte or usko this . children se access bhi kar sakte
bhaiya, whenever i try to use class component , it's showing blank white screen in localhost:3000....I used functional component its working perfectly but in case of class component, its displaying a white screen. can you solve it ? i tried everything.
bro in child file like student file it must have some error therefore it is not execute it don't worry , again read it and solve the problem step by step
now after 1 year you will see that code and you will laugh that for such a small thing i was worried😂😂
sir agar hume Hello ko color rakhna hai aur email ko nehin rakhna wo kaise hoga
Hello Sir Please make Video Dashboard Design in React
import React from 'react';
import Tut5 from './tut5_propsWithClasscomponent/tut5';
function App() {
return (
);
}
export default App;
i try to send html using props , if this is wrong please modify and write right answer
Hello, u have not called props parameter in render function in student.js... Is it fine to do that??
Sir jaldi upload kro please
Hey we can change the props data in child componet as well like props.emp.name = "Verma";
no we cant change value in child class or function component sir told in this video please watch agin
What is lifting up state ???
In simple words, getting child component in parent component
@@codestepbystep Thank you
Sir showing error render is undefined
Sodhu bhai...
How to add function in props?
// Parent component
import React from 'react';
function App() {
const handleClick = () => {
console.log('Button clicked!');
};
return (
Parent component
);
}
// Child component
function Student(props) {
return (
Click me
);
}
answer by children user html in component
Bhai tu bhot fast padata he yr tu click pr click krta he
sir, i didnt find your Insta account? can you share proper link please because i have to ask help for my study project. Thanks
code.steps