The React Interview Questions You need to Know

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

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

  • @vigneshgvs
    @vigneshgvs 10 месяцев назад +14

    Man! What a video! You taught "Redux and SSR ReactDOMServer" in just 10 minutes!
    Such a nice simple example and made me to understand easier and now confidence to learn them in detail. Thanks a lot. 1st video of urs from me, direct sub, direct respect, direct inspiration. Long live with all you wish, dude! Thanks a ton.

  • @CamdenBloke
    @CamdenBloke 10 месяцев назад +1

    I've been watching lots of react interview prep videos, and the only question this one shares is the first one. Thanks for the good practice questions.

  • @snsa_kscc
    @snsa_kscc Год назад +4

    Wow! This was delightful to watch. Great and to the point!

  • @dyunior
    @dyunior Год назад +4

    Thank you. what is the VS code plugin name that minimize the tailwind classes?

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

    Thank you for sharing your experience and knowledge, your explanation was awesome 🎉 I’ve been working in React and you give a really nice insights to consider in our future projects.

  • @josygeorge3115
    @josygeorge3115 2 месяца назад

    11:38 It's opinionated, not optionated; Opinionated in terms of redux means the library comes out to ensure that everyone is using the library the same way. This ensures that people aren't doing whatever they want when implementing redux in an app, which makes it significantly easier to learn and enjoy.

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

    For the second question, what are some use cases for rendering elements outside of the component tree?

  • @harryzhu
    @harryzhu 6 месяцев назад +1

    if they ask about prop drilling, use contexts/provider relationship pattern!

  • @nomuyfunk
    @nomuyfunk 9 месяцев назад +2

    Great content, amigo!! What addon are you using for hiding the other lines in Code? I think it's a good idea so we can just focus on the logic. Cheers!!

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

    when and what should I choose ref or getElementbyID for selecting html element . I always use ref for element but is there any side effects ?

  • @Fermerius
    @Fermerius 2 месяца назад

    great video, thank you

  • @Marina-mq2zi
    @Marina-mq2zi 4 месяца назад +2

    For what particular tasks should we use react portal?

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

      I have no idea it exists until now.

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

      If you have a button that opens a popup menu, you might not want the popup to be rendered directly within the same DOM hierarchy as the button. This is particularly useful for avoiding potential issues with styling, z-index conflicts, or DOM hierarchy constraints.
      In such cases, you can create a reusable Popup component that uses React.createPortal to render its content outside the parent component's DOM tree-typically directly into a dedicated root element (e.g., a div with id="portal-root").
      By doing this, the popup can still maintain its logical association with the button (e.g., positioning it below the button using the provided anchor as a prop) while being decoupled from the DOM hierarchy of the button.
      This approach can be used for a variety of UI components beyond dropdowns, such as modals, tooltips, notifications, or any overlay elements.

  • @hectorserrano9314
    @hectorserrano9314 7 месяцев назад +6

    Hats off to you, dude. I've been meaning to brush up on the “lazy loading vs code splitting” and your video helped tremendously to tell them apart.
    Basically, to “lazy load” something, that portion of code needs to be “split” by our bundler. That way, that small .js file is decoupled from the initial bundled app and can later be “Lazy loaded” on demand.
    Thanks for helping make the distinction more easily 🙌🏻

    • @CoderOne
      @CoderOne  7 месяцев назад

      Glad it helped ^^

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

      Just to complement:
      Lazy loading is not just about code splitting itself, but all techniques that involves defering the load of something.
      I'm saying that just because you can, for example, lazy load images of a page. And in this case you don't need to split anything, but just get scrolling behavior and then requesting the images, you know?

  • @АлександрСавченко-б8в
    @АлександрСавченко-б8в 4 месяца назад

    what extension allows youi to see file size on the first line?

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

    last one was gold. but i think it won't ask in an interview

  • @danielsikorowski7433
    @danielsikorowski7433 9 месяцев назад

    @CoderOne Thanks for very precise explanation. I really like your VS code settings. :) Can you maybe share your configuration for IDE? and used plugins. Thanks and keep up the good work!

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

    Thanks a lot

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

    great

  • @vladharanich
    @vladharanich 8 месяцев назад +4

    Zustand is the literal translation ''State" from German

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

    pls make more video like this

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

    Wonder how you didn't even mention context API, react built-in as just an option for fourth question

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

    I see bun I automatically like the video.

  • @emmanuellmiqueletti4605
    @emmanuellmiqueletti4605 6 месяцев назад

    a fair question. in the interview are you suppose to code a full redux without chekcing docs?
    I think redux is so much boilerplate to be asked in a interview without permission to check the docs

  • @waleedrehman9779
    @waleedrehman9779 7 месяцев назад

    Something wrong with video keeps crashing

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

    Theme?

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

    That's great info can you provide me github link ?

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

    BRO EXPLAINED PERFECTLY REDUX IN 5 MINUTES 💀💀💀💀💀💀

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

    plz provide code of this question

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

      No. You lazy

  • @provarence7361
    @provarence7361 10 месяцев назад +20

    bro you need to enunciate your words

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

    Whoever asks these questions in an interview is a psycho!

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

      why? as a professional react developer, I can tell these questions're good.

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

      @@vaskogood1580 to ask an entry leve or junior some of these questions are crazy.

  • @MovaClub
    @MovaClub 10 месяцев назад +1

    Thank you!