STOP choosing between shadcn ui & next ui (use BOTH)

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

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

  • @WebDevEducation
    @WebDevEducation  8 месяцев назад +7

    NOTE! I made a mistake in the video, the useFormField hook cannot be used in this way (thank you for the comments pointing this out!). Here's a slightly tweaked version of the code that works:
    {
    return (
    );
    }}
    />

  • @Mohamedmahmoud-cq5fs
    @Mohamedmahmoud-cq5fs 8 месяцев назад +1

    React Hook "useFormField" cannot be called inside a callback. React Hooks must be called in a React function component or a custom React Hook function.

    • @WebDevEducation
      @WebDevEducation  8 месяцев назад +1

      The render prop is a React function component so its use here is completely valid 🙏

    • @Mohamedmahmoud-cq5fs
      @Mohamedmahmoud-cq5fs 8 месяцев назад

      @@WebDevEducation thank you for replying, i just used it like the video with the same code and i got that error.

    • @Mohamedmahmoud-cq5fs
      @Mohamedmahmoud-cq5fs 8 месяцев назад

      {
      const { error } = useFormField();
      return (

      );
      }}
      />

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

      ​@@WebDevEducation I had the same issue with Mohamedmahmoud-cq5fs
      please help me to fix that.
      Tks so much

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

      @@WebDevEducationI have the same error but it's an ESLint warning in Webstorm. In VSCode it works without a warning.

  • @g_sami__newn8728
    @g_sami__newn8728 25 дней назад

    But using them together, will it make the site size relatively large?

    • @WebDevEducation
      @WebDevEducation  22 дня назад +1

      Probably not much larger than just Next UI by itself.

    • @g_sami__newn8728
      @g_sami__newn8728 22 дня назад

      @@WebDevEducation can you tell me the normal size bundle (all resources)?

    • @WebDevEducation
      @WebDevEducation  21 день назад

      @@g_sami__newn8728 There is no normal size bundle. It will vary greatly from project to project.

  • @AlexanderBelov-y8o
    @AlexanderBelov-y8o 8 месяцев назад

    Thank you for another video!

  • @Michael-Martell
    @Michael-Martell 8 месяцев назад

    I just got notified via Udemy, but even though there's a sale on Udemy and it was only 5 days ago, it's coming up as full price now. :(

    • @WebDevEducation
      @WebDevEducation  8 месяцев назад +1

      Hey Michael I appreciate your interest in the course :) Try this one: www.udemy.com/course/shadcn-ui/?couponCode=FEB24A

    • @Michael-Martell
      @Michael-Martell 8 месяцев назад

      @@WebDevEducation got it! Your classes are always incredible. I want to support everything you do, but as an unemployed 4 yr in next/swift dev, I wish I could find work! I’m excited to take the course. Despite doing this many times, I KNOW that there’ll be golden nuggets in here to take from, and your concise and comprehensive teaching approach means I don’t have to invest a ton of time to extract them! I appreciate you!

    • @Michael-Martell
      @Michael-Martell 8 месяцев назад

      @@WebDevEducation Hey, you know what would be an incredible class! (Also, it has 0 competition on Udemy)… A GSAP in React/Next course! There are a handful of vanilla GSAP courses, but GSAP just released a series of videos with some useGSAP() hooks specifically for react, that seem quite helpful. It would be incredible to see this as one of your course offerings!

    • @Michael-Martell
      @Michael-Martell 8 месяцев назад

      @@WebDevEducation​​⁠ Hey, you know what would be an incredible class! (Also, it has 0 competition on Udemy)… A GSAP in React/Next course! There are a handful of vanilla GSAP courses, but GSAP just released a series of videos with some useGSAP() hooks specifically for react, that seem quite helpful. It would be incredible to see this as one of your course offerings!

    • @WebDevEducation
      @WebDevEducation  8 месяцев назад +2

      It's certainly something I'll consider.. I'm hoping to do some free tutorials on framer motion soon so could also be the case I create some free tutorials around gsap as well :)

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

    Thank you!