React Like a Pro: React Best Practices

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

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

  • @PedroTechnologies
    @PedroTechnologies  5 месяцев назад +2

    To try everything Brilliant has to offer-free-for a full 30 days, visit brilliant.org/PedroTech . You’ll also get 20% off an annual premium subscription.

  • @godofwar8262
    @godofwar8262 5 месяцев назад +35

    Bro please start the backend series with node js beginners to advanced all things please i learn front-end from you
    Edit : hey Pedro by see likes you know what people want

    • @sabitsadiq
      @sabitsadiq 5 месяцев назад +1

      Honestly we need it also.

  • @39abii
    @39abii 5 месяцев назад +11

    bro wasted one third of his video on intro and ad
    starts at 2:58 btw

  • @vuuzo
    @vuuzo 5 месяцев назад +23

    2:58

  • @recursion.
    @recursion. 5 месяцев назад +2

    pedro pedro pedro pedro pe 🕺🕺🕺🕺🕺

  • @srikanthmedicherla3651
    @srikanthmedicherla3651 5 месяцев назад +1

    Thanks Pedro! I was hoping if you can jump into some Design Patterns we can use in React? (eg: Provider Pattern, 2. Hooks Pattern, 3. Presentational & Container Component Patterns, 4. Render Prop Pattern, 5. High Order Component (HOC) Pattern.)

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

    Nah this was a lazy video. Sorry not this one bro. Kinda just a lazy put together and voice over to make some money.

  • @ahmedazouzi2899
    @ahmedazouzi2899 5 месяцев назад +1

    Thank you Pedro 🤠

  • @PatrickHenry123
    @PatrickHenry123 5 месяцев назад +1

    bros selling out

  • @Arcane_Dragon878
    @Arcane_Dragon878 5 месяцев назад +1

    Damn im early af, 6 minutes

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

    nice video Pedro , thx for your advice

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

    Pedro is brabo. Thanks for the video, it helped me a lot!

  • @KiranKumar-hz8ur
    @KiranKumar-hz8ur 5 месяцев назад

    Need a project which works on react hooks for optimization 💥

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

    separate the container and the presentational component for testing purpose
    use redux for the state management
    for data fetching make use of react query
    clean up the effect when unmounting

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

    I like atomic design for components, with atoms, molecule, organisms & page at least, to organise file structure
    Then we add folders :
    Utils/
    Context/
    Hooks/
    Routes/
    Services/

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

    From my experience I’d like to share some info.
    The RxJs together with Graphql and TS works very well.
    It allows you to create flexible states and in additional you will be able to create a service layer that will be responsible for managing your requests (queries,mutations).
    Pedro, have you ever used such things?

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

    Thanks pedro ,We all love you ,In future your talent will beat ,🧡🧡💥💥

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

    TY Bro

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

    About single responsibility component or independent component. I'm currently learning about redux and testing, and when i test a component that use useSelector in it, it became too complicated that i gave up. So i change that component to use props. I'm confuse about the single responsibility or independent component. is a component that use useSelector an independent component or a component that use props that an independent component??

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

    I highly suggest to try using Feature-Sliced Design :)

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

    We want backend from you in Node.Js and Next 😘😘😘

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

    pls create a sinlge mysql video

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

    Brazilian compliments to this great video!

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

    Hey pedro learned a lot from you , love you bro.

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

    lets get this guy to 200k subscribers

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

    Much insightful video @pedro

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

    Pedro are you from Brazil?

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

    Please create mern project

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

    Nice style man! Noooix Pedrão monstroo

  • @KiranKumar-hz8ur
    @KiranKumar-hz8ur 5 месяцев назад

    Tq

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

    I use ABC structure. Which is something I came up with to simplify the way I manage react apps.
    a - app (To manage navigations and routing only)
    b- boards ( Are smart components take care of fetching and logic )
    c - Components ( UI components that only receive props and can handle empty props )
    ---
    This was my best solutions honestly it helped alot to have a clean app structure where I can immediately know the hierarchy of a certain element in my app.
    Also, I no longer use /src folder. Finally I changed (assets) folder to (resources) and (context) folder to (stores).. and so many other things to keep my app folder strcture clean without having to many folders start with the letter "c" for example (components, constants, context ..) so for constant I gave it a folder named "keys" this way the folder structure becomes a very nice top to bottom structure with the most important element is on top "app" and the least important elements are at the bottom "widgets, and zod" for mini components and validations that you only touch once and can copy and paste between projects without changing anything.

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

    Boa Pedro! Brasil aqui

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

    Thanks for the video Pedro

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

    🎉