Refactoring Junior React Code to Clean Code - SOLID

Поділитися
Вставка
  • Опубліковано 30 вер 2024

КОМЕНТАРІ • 11

  • @RayzenHunt
    @RayzenHunt 4 місяці тому

    Why do you suggest changing the style component to tailwind? What is better about it? You are only changing the tool to one you know yourself. If the project is large and doesn't use tailwind but own styled components what then?

  • @airixxxx
    @airixxxx 4 місяці тому

    Great, the only thing I would change is either remove the icon property and let the dev put the icon in the position they want via children, or make the icon property a type with icon and slot: "start | end" for positioning, I feel like passing an icon prop and having to position the children passing a class is not very clean.

  • @aymenbachiri-yh2hd
    @aymenbachiri-yh2hd 4 місяці тому

    Thank you , keep posting content like this

    • @CoderOne
      @CoderOne  4 місяці тому +1

      Glad this kind of videos is helping ^^

  • @rishiraj2548
    @rishiraj2548 4 місяці тому

    Great approach

  • @mohammadtoficmohammad3594
    @mohammadtoficmohammad3594 4 місяці тому

    Thank you

  • @abcess124
    @abcess124 4 місяці тому

    سطايفي 😳☺️

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

      تاع بصح من سطيف ؟؟ هههه

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

      @@BillalBenzazoua وي سيريو مسطيف

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

      @@abcess124 nice hahaha 😆 🤣 😂