Zustand Tutorial for Beginners - The Only Course You Will Ever Need

Поділитися
Вставка
  • Опубліковано 25 сер 2024
  • This is the most comprehensive "Zero to Hero" Zustand course available on UA-cam. You will learn everything related to it through practical examples, best practices, and integrate it with TypeScript and React as quickly as possible to create an eCommerce application with an amazing modern reactive shopping cart and products page.
    Zustand is a minimalist yet powerful state management library for React applications. It simplifies state management by offering a straightforward API based on hooks, making it an appealing alternative to more complex solutions like Redux and Flux patterns. Zustand is designed not to be opinionated, allowing developers to manage state in a way that best suits their application's needs. It provides a simple and intuitive method for managing global state across components in React.
    How to create a reactive shopping cart ecommerce application in React?
    #react #zustand #redux #flux
    🔗 Links:
    Project on Github: github.com/cod...
    Docs: zustand-demo.p...

КОМЕНТАРІ • 97

  • @codegenix
    @codegenix  3 місяці тому +3

    What tutorial do you want to see next?

  • @FatihOzkr
    @FatihOzkr 10 годин тому

    The most comprehensive Zustand tutorial on UA-cam. Thank you brother for taking this tutorial that deep and understandable.

  • @michaeloshinaike5733
    @michaeloshinaike5733 3 місяці тому +7

    This is the most comprehensive zustand tutorial on youtube. Great Job

    • @codegenix
      @codegenix  3 місяці тому

      You're welcome🙏

  • @codingjogo
    @codingjogo 2 місяці тому +4

    I'm begginner in Zustand if I don't read docs and do some little things with it I will never understand this. Your explanation is perfect for people who knows the basics

    • @codingjogo
      @codingjogo 2 місяці тому +1

      Btw, your video perfectly explain Zustand, thanks a lot!

    • @codegenix
      @codegenix  2 місяці тому +1

      I'm SO glad you liked it ❤️🙏

  • @digitalsahara6670
    @digitalsahara6670 3 місяці тому +2

    man.... love thuis channel so much ! thanks for a great video again , perfectly timed too

    • @codegenix
      @codegenix  3 місяці тому

      Much appreciated! I'm so happy now...

  • @noNullMoments
    @noNullMoments 3 місяці тому +2

    Call the library what you want as long you as keep making good , quality content. Keep it up

    • @codegenix
      @codegenix  3 місяці тому

      I'm so glad you liked it. Thanks

  • @yourlinuxguy
    @yourlinuxguy Місяць тому +1

    Thankyou so much for the tutorial once again. Kudos to you man!

  • @ShasHamood
    @ShasHamood 3 місяці тому +1

    Thank you very Thank you I've been waiting for him impatiently

    • @codegenix
      @codegenix  3 місяці тому +1

      You’re welcome 😊

  • @dimd8824
    @dimd8824 18 днів тому +1

    Hello.
    how to type a wrapper function to add devtools in dev mode?
    so that devtools do not end up in production.
    const createStore = (fn, name) => {
    if(process.env.node_env === "development") {
    return create()(devtools(fn, name))
    }
    return create(fn, name))
    }

  • @dedanmsafari8213
    @dedanmsafari8213 2 місяці тому

    I loved this one..quite in depth.I love the coding standards enforced here. will combine it with react query to build cool stuff.Looking foward to more tutorials from you.Great job mate!

    • @codegenix
      @codegenix  2 місяці тому

      I'm so glad that you liked it. Thank you very much. I really appreciate it

    • @yourlinuxguy
      @yourlinuxguy 2 місяці тому

      @@codegenix Would love to see you do ReactQuery.

  • @RohitRaj-od3be
    @RohitRaj-od3be Місяць тому +2

    My components folder and lib folder is creating at root directory inside @ and also it is not running could you please reply.

    • @codegenix
      @codegenix  Місяць тому +1

      @RohitRaj-od3be You can add this to your tsconfig file:
      "paths": {
      "@/*": ["./src/*"],
      "$/*": ["./*"]
      }
      then you can import your files at root level like:
      import { something } from "$/components/YourComponent.tsx

  • @huseyinlora
    @huseyinlora 3 місяці тому

    Great! Please continue to produce such comprehensive and beginner-friend tutorials bro! I'm following your contents regularly. They are great. Well done. Thanks.
    Recommendation: You can add timestamps for every certain part of the video!

    • @codegenix
      @codegenix  3 місяці тому +1

      Thanks, will do!

  • @okwarakizitochigozirim6107
    @okwarakizitochigozirim6107 2 місяці тому +1

    lovely tutorial, love it !!!!!

    • @codegenix
      @codegenix  2 місяці тому

      Thanks so much 😊

  • @K00000ry
    @K00000ry 3 місяці тому +2

    Agha damet garm! Content Aaliye🙌

    • @codegenix
      @codegenix  3 місяці тому +1

      Fadaye shoma🙏

  • @jayadky5983
    @jayadky5983 3 місяці тому +1

    Great videos on the channel brother🔥keep up the good work. Subscribed 💪

    • @codegenix
      @codegenix  3 місяці тому

      I'm really glad you liked. Thank you so much 🙏

  • @roberthmejias
    @roberthmejias 18 днів тому

    What a tutorial 😎.... It's just what I needed 🥳!!! Thanks a lot for sharing this knowledge with us. You're a crack! 🤟

    • @codegenix
      @codegenix  18 днів тому

      Love you broooo😍❤️

  • @masaratech
    @masaratech 3 місяці тому

    This was really helpful, thank you for your efforts.
    You can add multiple shadcn components in one line like:
    npx shadcn-ui@latest input label drawer accordion

    • @codegenix
      @codegenix  3 місяці тому

      I'm so glad you liked it🙏thanks for the trick

  • @RafathBinZafarAuvee
    @RafathBinZafarAuvee 3 місяці тому

    This man is saint

  • @ErjonDinarama
    @ErjonDinarama 2 місяці тому +1

    Perfect

  • @dream__moments
    @dream__moments 2 місяці тому +2

    what if I want to persist the Cart Slice only ?

    • @codegenix
      @codegenix  2 місяці тому +1

      @dream__moments Slice persisting is not possible but you can create multiple stores and persist each of them that you want. For example you can create a store only for your cart, then only persist that not the other store.

    • @dream__moments
      @dream__moments 2 місяці тому

      @@codegenix ok thanks for the knowledge

    • @souradeepdey1338
      @souradeepdey1338 Місяць тому

      I think you can use partialize option to manually select the states you need to save

  • @congdatt
    @congdatt Місяць тому

    Keep it up bro

  • @regilearn2138
    @regilearn2138 3 місяці тому

    Hi mate, your content have unique touch. I would like to request a video on how to upload file to AWS s3 using lambda function with MERN stack using typescript

    • @codegenix
      @codegenix  3 місяці тому +1

      Thank you for the suggestion! Unfortunately Amazon services are banned in my country and I don't have access to these services (Azure, AWS, Vercel, Firebase, ...)

  • @smartdriver2990
    @smartdriver2990 3 місяці тому

    Yes, I need it

  • @prashlovessamosa
    @prashlovessamosa 3 місяці тому

    Now you are also a freecodecamp elite.

  • @asim-gandu-phenchod
    @asim-gandu-phenchod 2 місяці тому +1

    Awesome tutorial. Thanks a lot

  • @mohammadbohluli
    @mohammadbohluli 3 місяці тому

    very very nice videos, keep going Bro🤩 and Your accent is very similar to that of Iranians, are you Iranian?

    • @codegenix
      @codegenix  3 місяці тому +1

      Are sotoonam😍 Merci

  • @user-sd4pq1dw9g
    @user-sd4pq1dw9g 3 місяці тому

    thank you!!!!!!!!

  • @minter-07
    @minter-07 3 місяці тому

    Great , now i want to learn drizzle orm with neon db with a small project, 😅 if possible

    • @codegenix
      @codegenix  3 місяці тому +1

      Currently working on it. Drizzle is really popular in this channel👌

  • @Raghav_Bajpai_
    @Raghav_Bajpai_ 3 місяці тому

    When Drizzle ORM full course from basic to advance?

    • @codegenix
      @codegenix  3 місяці тому +1

      It might takes a few weeks my friend...

  • @Noli344
    @Noli344 3 місяці тому

    Can you make a full stack Next.js application with Tailwind, TypeScript, Zustand and Supabase?

    • @codegenix
      @codegenix  3 місяці тому

      Currently working on it...

  • @bhargavkumar
    @bhargavkumar 22 дні тому

    will this work with nextjs?

    • @codegenix
      @codegenix  22 дні тому

      @bhargavkumar I don't recommend it

  • @yourlinuxguy
    @yourlinuxguy Місяць тому +1

    Every things is fine but I'm having skill issue to follow. sed 😢

    • @codegenix
      @codegenix  Місяць тому

      The first step is always the hardest. Keep practicing, you'll get it!

  • @drivebuss8079
    @drivebuss8079 2 дні тому

    i hated programming after watching your tutorial

    • @codegenix
      @codegenix  День тому

      @drivebuss8079 Is there any problem with the tutorial?

  • @duyvinho9164
    @duyvinho9164 19 годин тому

    your example is too complicated, and you got lost in implement the e-commerce site. I dont care the interface of your product, I'm here for zustand knowledge.Pick a simple example, dont waste my time

    • @codegenix
      @codegenix  11 годин тому

      Thanks for your feedback

  • @user-ld1de1mc4h
    @user-ld1de1mc4h 3 місяці тому +1

    It's pronounced "Tzushtand" and not zustand. Get it RIGHT! :))))

    • @codegenix
      @codegenix  3 місяці тому +3

      I had a hard time pronouncing it the way you mentioned, but I just couldn't😆! Thanks for your correction anyway!

    • @zlatkoiliev8927
      @zlatkoiliev8927 2 місяці тому +1

      @@CURIOSITYcapitalseems like you left your sense of humour at home… 😢

    • @CURIOSITYcapital
      @CURIOSITYcapital 2 місяці тому

      do you think so?😂

  • @hamedfazeli476
    @hamedfazeli476 3 місяці тому

    Wow you nailed it 🫡✨👍