React useReducer Hook | To-Do App| State Management in React Functional Components

Поделиться
HTML-код
  • Опубликовано: 26 сен 2024
  • useReducer Hook is another built in Hook in React to handle complex state management.
    if your component has simple states like string, boolean then useState Hook is sufficient and you used use this only but as project grow, complexity also increase and in that case handling states with useState will be tough, there useReducer Hook will be better option.
    useReducer takes 3 parameters ,
    1) reducer function (required parameter ): redux is a pure function that takes previous state and action an argument and return the next state.
    2) Initial State:(required parameter ) With this state, you reducer will initialise
    3) init function(optional): if you pass third parameter, then it will initialise the initial state lazily.
    Watch the complete video till the end to understand core of useReducer hook with basic Todo App.
    Support the channel by liking this video and share in your network if you learnt something new :)
    Checkout my Instagram account to find the latest notes on React, Angular and Javascript.
    Instagram handler Name: @nishasingla05
    Watch complete video to understand in depth.
    Support my channel by liking and sharing my videos so that I can reach to wider audience.
    ►Checkout previous video useState Hook (part-2)
    • useState Hook in React...
    ►Checkout previous video useState Hook (part-1)
    • useState Hook in React...
    ►Checkout previous video Hooks
    • Hooks in ReactJS: Wha...
    ►Project Setup using create-react-app
    • ReactJS Tutorial: What...
    ►Virtual DOM and Real DOM
    • ReactJS Tutorial: What...
    ►ReactJS Introduction
    • ReactJS Tutorial - Int...
    ►Click here to Subscribe the channel:
    studio.youtube....
    ►All important shorts videos:
    ruclips.net/user/pl....
    Connect with Me On Social Media
    Facebook: / angularjs4be. .
    LinkedIn: / nisha-sin. .
    Instagram : / nishasingla05
    Twitter: / nishasingla05
    #nishasingla #javascript #reactjs

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

  • @smeetcoder9021
    @smeetcoder9021 Год назад +5

    Most Underrated RUclipsr Mind Blowing Explanation Even after paying lacs the education institute can't but She is Insane Thank you Mam.
    dispatch({type:"Best Teacher",payload:"Thank You"})

  • @UjjwalKumar-b5f
    @UjjwalKumar-b5f 4 месяца назад

    seen lots of use Reducer videos but you have explained everything in detail 😍😍

  • @jayantverma3335
    @jayantverma3335 9 месяцев назад +1

    mere ko kisi ka samajh niaya apke alava thanks main bohot time sai easy way dhund rha tha

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

    next level explanation....... you earn a subscriber

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

    Great explanation! Thank you so much for sharing your knowledge 😊

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

    It is very helpful and very well explained.

  • @akashkumawat5602
    @akashkumawat5602 11 месяцев назад

    Great nisha this is simple and to the point.✌

  • @weforyouweb1165
    @weforyouweb1165 10 месяцев назад

    Superbly explained

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

    Nicely explain.thanks🎉

  • @affanshaikh8484
    @affanshaikh8484 8 месяцев назад

    Awesome explanation. Thank you so much

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

    Great clean detailed lecture

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

    Great 😊👍 explanation

  • @4444-c4s
    @4444-c4s Год назад

    Video pe Video...🙌😌

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

    Great explanation mam

  • @lowlifeglitch6199
    @lowlifeglitch6199 5 месяцев назад

    Very nice! Please, would you add 'UPDATE_TASK' case to this TodoList?

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

    Osm👍🏻

  • @RavindraSingh-zg9eq
    @RavindraSingh-zg9eq Год назад

    Amazing doing great job

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

    very useful ❤

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

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

    Great video!!! Waiting for useContext!!

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

    Where is the source code. For a beginner to think along the lecture

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

    I made wesite in react

    • @ScavengerYT9
      @ScavengerYT9 4 месяца назад

      Wesite?😂😂😂

    • @ravinegi2189
      @ravinegi2189 Месяц назад

      keep it up!
      me and nisha ji with you

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

    very helpful ❤