React tutorial in Hindi #14 Props in class component

Поделиться
HTML-код
  • Опубликовано: 3 ноя 2024

Комментарии • 40

  • @payalraghuwanshi188
    @payalraghuwanshi188 3 года назад +6

    "kya aap ye kar sakte ho??".. "Ji NAHI AAP YE nhi KAR SAKTE" .. love these lines ❤️

  • @me.kumarrahul
    @me.kumarrahul 2 года назад +1

    sir watched many video for state and props but concept clears now . Thank u Sir 🙏🙏

  • @thedeepanshu4937
    @thedeepanshu4937 9 дней назад

    BESTTTTTTTESTTTTT

  • @asifahmed6568
    @asifahmed6568 3 года назад

    Very briefly explained.. Thank you🤗

  • @pythonenthusiast9292
    @pythonenthusiast9292 3 года назад

    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?

  • @hritik4807
    @hritik4807 2 года назад +2

    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

    • @Anonymous-zr6fb
      @Anonymous-zr6fb 2 года назад +1

      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

  • @santhoshkumar-sf4bc
    @santhoshkumar-sf4bc 4 года назад +1

    Bro... want more videos on you started series of ecommerce laravel. hope you do it..

  • @dhaneshsh
    @dhaneshsh 3 года назад +2

    props.children use h1of student

  • @darjipavan5112
    @darjipavan5112 4 года назад +2

    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

  • @faizahmed688
    @faizahmed688 2 года назад

    yes pass kar sakte or usko this . children se access bhi kar sakte

  • @kunalbiswas372
    @kunalbiswas372 2 года назад +2

    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.

    • @rumanmushtaq898
      @rumanmushtaq898 2 года назад +1

      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

    • @crazetalks6854
      @crazetalks6854 Год назад +1

      now after 1 year you will see that code and you will laugh that for such a small thing i was worried😂😂

  • @pruthivirajrao2976
    @pruthivirajrao2976 Год назад

    sir agar hume Hello ko color rakhna hai aur email ko nehin rakhna wo kaise hoga

  • @raghavmahajan7657
    @raghavmahajan7657 2 года назад

    Hello Sir Please make Video Dashboard Design in React

  • @coder-cc4pd
    @coder-cc4pd 7 месяцев назад

    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

  • @UdayPawarUdi
    @UdayPawarUdi 3 года назад

    Hello, u have not called props parameter in render function in student.js... Is it fine to do that??

  • @DeepakGupta-hj2dv
    @DeepakGupta-hj2dv 4 года назад +1

    Sir jaldi upload kro please

  • @gauravverma9102
    @gauravverma9102 2 года назад

    Hey we can change the props data in child componet as well like props.emp.name = "Verma";

    • @Anonymous-zr6fb
      @Anonymous-zr6fb 2 года назад +1

      no we cant change value in child class or function component sir told in this video please watch agin

  • @asifahmed6568
    @asifahmed6568 3 года назад +2

    What is lifting up state ???

    • @codestepbystep
      @codestepbystep  3 года назад +1

      In simple words, getting child component in parent component

    • @asifahmed6568
      @asifahmed6568 3 года назад

      @@codestepbystep Thank you

  • @roshanjha9045
    @roshanjha9045 2 года назад

    Sir showing error render is undefined

  • @Tetetetstststzt
    @Tetetetstststzt 2 года назад

    Sodhu bhai...
    How to add function in props?

    • @abhishekvi
      @abhishekvi Год назад

      // 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
      );
      }

  • @dhaneshsh
    @dhaneshsh 3 года назад

    answer by children user html in component

  • @pranishsonone7839
    @pranishsonone7839 3 года назад

    Bhai tu bhot fast padata he yr tu click pr click krta he

  • @reenarani9784
    @reenarani9784 3 года назад

    sir, i didnt find your Insta account? can you share proper link please because i have to ask help for my study project. Thanks