6 React Interview Questions You Have to Know

Поділитися
Вставка
  • Опубліковано 5 січ 2025

КОМЕНТАРІ •

  • @PedroTechnologies
    @PedroTechnologies  2 роки тому +25

    The first 1,000 people to use this link will get a 1 month free trial of Skillshare: skl.sh/pedrotech02221

  • @MrNikola14
    @MrNikola14 2 роки тому +227

    I've been asked these interview questions (which I remembered and wrote down) so it might help someone:
    1. What is state hoisting
    2. What are falsy values in js
    3. Synchronous vs Asynchronous code
    4. What is a purpose of a Function as a child
    5. Presentational component vs container component
    6. Why do we need keys for React lists
    7. How to recognize closures in js
    8. Difference between using fetch() and axios
    9. Purpose of fragments
    10. How to create a custom hook

    • @Dt-8398
      @Dt-8398 2 роки тому +4

      Just curious what level positions were these questions asked? Is this entry level, intermediate or senior level? Thanks.

    • @MrNikola14
      @MrNikola14 2 роки тому +17

      ​@@Dt-8398 these were for entry level, as a junior react dev

    • @sogggy
      @sogggy 2 роки тому +1

      Thanks. Did you get the job?

    • @mofe620
      @mofe620 2 роки тому +9

      😂 I can provide answers to only 3 of these questions.

    • @一脸滑稽-k5v
      @一脸滑稽-k5v 2 роки тому +13

      @@MrNikola14 I'm a junior developer looking for entry level job.... And .... damn I can't answer these !

  • @XlON___
    @XlON___ 2 роки тому +13

    Thank you my man, I landed in Canada from Chile 4 months ago and have my first interview tomorrow. This video was indeed helpful, cheers!!!!

    • @PedroTechnologies
      @PedroTechnologies  2 роки тому +1

      Best of luck!

    • @zakhariihusar6975
      @zakhariihusar6975 2 роки тому +3

      How did it go?

    • @XlON___
      @XlON___ 2 роки тому +9

      @@zakhariihusar6975 super bad, they didn't ask me any of these lmao

    • @zakhariihusar6975
      @zakhariihusar6975 2 роки тому +2

      @@XlON___ better luck next time!

    • @Sergio-ef5pz
      @Sergio-ef5pz 2 роки тому +1

      Que te preguntaron? Conseguiste algún trabajo en Canadá?

  • @chandrashekar-us6ef
    @chandrashekar-us6ef 2 роки тому +43

    Few more common question:
    What is the exact difference between class component and functional component?(they’re are not expecting syntactic differences as answer)
    How do you choose functional over class component ?
    What exactly happens with Lazy loading and how code splitting works?
    How is closures implemented in React.
    unfortunately I failed the interview and I had no answers for these.

  • @stilltrippin4687
    @stilltrippin4687 2 роки тому +14

    Well, mastering design patterns is my next goal to achive, thanks man. Wish you good luck in the youtube journey

  • @calebcadainoo
    @calebcadainoo 2 роки тому +4

    Very comprehensive 🙌

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

    Very useful information..definitely recommend to watch for those who are looking for questions for react ❤

  • @johnadepelumi93
    @johnadepelumi93 2 роки тому +3

    this will really be helpful to a lot of react devs hoping to land their first full time job.

  • @shinigami675
    @shinigami675 2 роки тому +22

    I was asked
    1. Virtual Dom
    2. React Security
    3. OOP Principles and Design Patterns
    4. Idempotency
    5. High Level Components and Functions.

  • @Uchutanjyo
    @Uchutanjyo 2 роки тому

    Underrated video, this should have more views! Thx Pedro!

  • @brandoni9599
    @brandoni9599 2 роки тому +2

    Your videos have really helped me. Thank you!

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

    Virtual dom, state, explain all hooks, hook rules (should be at top level, should be in functiona lcomponens as they were meant to be), mvc architecture, state management (context api, redux, zutsland)

  • @Eric-lw5yq
    @Eric-lw5yq Рік тому

    You're growing up right before our eyes!

  • @arhabersham
    @arhabersham 2 роки тому +30

    I would rename this channel Pedro"LifeSaver"Tech !

  • @EpistemicFomo
    @EpistemicFomo Рік тому

    Thank you so much! Every topic is a breeze with you.

  • @ravikanhreddymanik7767
    @ravikanhreddymanik7767 Рік тому

    Thank you Man! Really appreciate your effort to help people like me.

  • @berrieberrie1555
    @berrieberrie1555 2 роки тому +1

    thank you so much ^^ a hidden gem video that mostly coach/youtubers/tutorials dont take notes

  • @fcq731
    @fcq731 Рік тому +19

    Just a small suggestion, there is too much unnecessary information instead of direct question and answer. Would be great to cut to the chest.

  • @cryptodoomer2855
    @cryptodoomer2855 Рік тому

    jeez, seeing this reminds me of my time as a junior dev.
    I wish i had chatgpt in that days

  • @luketembanimunyandu3326
    @luketembanimunyandu3326 Рік тому

    Awesome insights, thanks bud

  • @LuisReyes-zs4uk
    @LuisReyes-zs4uk Рік тому

    Really good video, thanks dude!

  • @jameshalstead6742
    @jameshalstead6742 2 роки тому +1

    The DOM question got me a month ago. I still don't feel like I can explain it, thanks for covering this.

  • @newyorkheart
    @newyorkheart Рік тому

    Pretty good explanation for beginners to understand the concepts

  • @ThColinPereira
    @ThColinPereira 2 роки тому

    Super helpful as always, Pedro!

  • @dougui.p
    @dougui.p 2 роки тому +5

    bro, since the first time a watch one your video i thought, wow this guy looks like a brazilian, so i followed you in instagram and i got it, you're a truly fucking brazilian, hahaha. Deixando o inglês das ruas de lado, parabéns pelo conteúdo, Pedrão, tô assistindo vários vídeos do seu canal e, além de aprofundar nas tecnologias, tô treinando o inglês também. Forte abraço, irmão!

    • @PedroTechnologies
      @PedroTechnologies  2 роки тому +2

      Kkkkkkkk td mundo toma um susto qnd ver q sou br. Pra ser honesto se do nada eu visse um tutorial em ingles de um br eu ia achar top kkkkkkk Valeu mano!

  • @vadikot
    @vadikot Рік тому

    thank you so much for this video it helped me understand some topics better and will definitely help me in my interview

  • @randerins
    @randerins 2 роки тому

    I'm actually so glad that my coding bootcamp taught me deeply about the MVC pattern, on this case using Rails. It's easier than it seems.

  • @World_information5568
    @World_information5568 2 роки тому +2

    Very informative video Dear Sir 😇

  • @cholo2605
    @cholo2605 Рік тому

    Thanks Pedro!!

  • @Icedanon
    @Icedanon Рік тому +1

    In the context of a react app, for mvc, wouldn't the model be the backend, the controller be your javascript, and the front end be the view? And since react components encapsulate jacascript along with jsx, can you really separate them into a view and controller?

  • @Onserio.
    @Onserio. Рік тому

    Nice one, thanks.

  • @adeleke5140
    @adeleke5140 Рік тому

    thank you for this video, Pedro. would review the concepts you've mentioned.

  • @iuliiasiriakivska2209
    @iuliiasiriakivska2209 10 місяців тому

    Thanks, great one

  • @jatilyadav4000
    @jatilyadav4000 2 роки тому

    Amazing Video bro

  • @rakhisingh9797
    @rakhisingh9797 2 роки тому +6

    Pls make more videos like this 😃

  • @jorgevillafraz2656
    @jorgevillafraz2656 Рік тому

    Thanks for the video

  • @rumpleshtiltkinzzz
    @rumpleshtiltkinzzz 2 роки тому

    When you are explaining state and how it differs in React compared to the example of using a plain object, what you're referring to is a declarative programming style as opposed to imperative(writing all the implementation logic yourself).

  • @adewumijohnadedoyin4061
    @adewumijohnadedoyin4061 2 роки тому

    It's really helpful!

  • @jatilyadav4000
    @jatilyadav4000 2 роки тому

    Really helpful Bro.

  • @jsvrs
    @jsvrs 11 місяців тому +3

    why u blurred there? u have a gun?

  • @aakankshabaijal
    @aakankshabaijal 2 роки тому +6

    Loved the video! Crisp, to the point and super helpful. Great work!

  • @salmansaysit
    @salmansaysit 2 роки тому +6

    MVC is more of an Architecture where Design Patterns deals with structure of Classes in OOP. Like singleton, factory, façade and strategy etc ,

  • @horu8027
    @horu8027 2 роки тому +1

    Gracias Pedro👍

  • @ty-cf6zi
    @ty-cf6zi 2 роки тому

    That's really helpful😃

  • @catalinrusu8098
    @catalinrusu8098 2 роки тому +1

    Nice video and good information! Thanks! Have you tried Jotai instead of Redux?

  • @abhishekmagar9843
    @abhishekmagar9843 2 роки тому

    Thank you brother for kind information

  • @arturmavlidov247
    @arturmavlidov247 2 роки тому

    That's good, thanks!

  • @adamtak3128
    @adamtak3128 2 роки тому +3

    Hey Pedro. How is your learning of GoLang going? WIll you be making videos/tutorials based projects aroung GoLang in the future?

    • @PedroTechnologies
      @PedroTechnologies  2 роки тому +6

      I spent my whole summer last year using golang for backend. I got pretty good with it, I can start making videos but I feel like there is a lack of demand for it.

  • @meraatmostafavi7758
    @meraatmostafavi7758 2 роки тому

    thanks for the vid that was helpful

  • @rachidslearnings3933
    @rachidslearnings3933 2 роки тому

    Thank you the the good tipps

  • @pjnyc8276
    @pjnyc8276 2 роки тому +1

    Thank you for this video. I am in the process of interviewing React/React Native devs. Do you do consulting work?

  • @tomasburian6550
    @tomasburian6550 2 роки тому +2

    I've done dozens of interviews recently that these questions were in nearly all of them.

  • @abhaytiwari6411
    @abhaytiwari6411 2 роки тому +1

    thanks pedro

  • @PrasathGururmoorthy
    @PrasathGururmoorthy 2 роки тому

    Thanks, really it will usefull for me.

  • @glareminds4286
    @glareminds4286 2 роки тому

    Nice tutorial

  • @arbros9093
    @arbros9093 2 роки тому

    Need more videos on this topic

  • @nikkisaha8830
    @nikkisaha8830 2 роки тому

    Thank you so much cutie ❤️ please make more such videos and crash course videos on firebase

  • @unjinjang2234
    @unjinjang2234 2 роки тому +5

    Hey pedro! Excellent content 😌
    Would love a video from you going over and explaining about common react design patterns!
    Looking forward to it 👏

  • @amauribechtoldjunior9588
    @amauribechtoldjunior9588 2 роки тому +2

    Hi Pedro, good content, thanks for this video! I would just suggest on the Hooks rules question, another plus It's always a good practice start then with "use" on the name.

  • @shadykhatri1620
    @shadykhatri1620 2 роки тому

    Clear and simple

  • @youngwolf1009
    @youngwolf1009 2 роки тому

    Pedro ur an angel

  • @rebeccaignacio7497
    @rebeccaignacio7497 2 роки тому

    Boa Pedrinho

  • @victorkhachi8222
    @victorkhachi8222 2 роки тому

    Thank you

  • @ytubs
    @ytubs 2 роки тому +1

    god bless pedro tech

  • @yashodipdeshmukh6897
    @yashodipdeshmukh6897 2 роки тому +2

    One more rule for hooks - no hook inside another hook.

  • @natnael-oqp5082
    @natnael-oqp5082 2 роки тому +1

    bro How long I take to become back-end developer (learn nodejs mongodb(mysql) graphql ) I am reactjs/nextjs developer

    • @PedroTechnologies
      @PedroTechnologies  2 роки тому +1

      Nodejs + a DB like mysql or mongo shouldn't take long. To be able to code with it I would say a month is enough, but to be really good it takes time. GraphQL is way more advanced, would not recommend starting with it.

    • @natnael-oqp5082
      @natnael-oqp5082 2 роки тому

      @@PedroTechnologies ooooo bro 10Q respect and love from Ethiopia

  • @27sosite73
    @27sosite73 Рік тому

    super!

  • @Regalman
    @Regalman 7 місяців тому

    video starts at @2:58

  • @novaa977
    @novaa977 2 роки тому

    great vid, move that pen tho XD

  • @asagiai4965
    @asagiai4965 2 роки тому

    Is #4 Like how to pass data on components?

  • @ifeanyiilonze5485
    @ifeanyiilonze5485 2 роки тому

    Thanks nwanne

  • @gauravgaurav6055
    @gauravgaurav6055 2 роки тому +1

    I can answer almost all answers but still no job :(

  • @anakoridze
    @anakoridze Рік тому +1

    there is a lot of blabla in this video and few explanations

  • @Diogocb
    @Diogocb 2 роки тому

    Why u put this blur thing in your face?

    • @PedroTechnologies
      @PedroTechnologies  2 роки тому +1

      It was a mistake with youtube editor, I unfortunately am unable to fix it :/

  • @Randomguy48279xyz
    @Randomguy48279xyz 2 роки тому

    👍

  • @jayypluss
    @jayypluss 8 місяців тому

    hu3

  • @thomasmajq2525
    @thomasmajq2525 2 роки тому

    tidy ur clothes ?

  • @melodichype4749
    @melodichype4749 10 місяців тому

    Bs! Waste!!

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

    Blah blah blah intro blah blah ad-forced-on-us-despite-paying-for-premium...then he takes OVER A MINUTE to prattle on before asking the first question...
    Actual start of video: 2:53
    Getting close to a quarter of the way through the video.
    And then his answer is actually pretty weak.

  • @Pareshbpatel
    @Pareshbpatel 2 роки тому +2

    Very informative video. Thanks, Pedro.
    {2022-02-15}, {2022-11-22}

  • @MenAgainstEmotionalAbuse
    @MenAgainstEmotionalAbuse 2 роки тому

    Please make some videos on redux if not already started