DEV Community

Cover image for 20 Basic React Questions to help you as you learn

20 Basic React Questions to help you as you learn

Jane Tracy πŸ‘©πŸ½β€πŸ’» on October 18, 2020

Learning React can be challenging in the first few weeks. Getting to know how to use props when to use class or functional components. I am still o...
Collapse
Β 
mirokole profile image
MiroKoLe β€’

When I'm at work I obviously can't code so I read documentation (pls don't tell my boss hehe). And this is by far my favorite read.

This explanations are very clear, interesting and understandable. I'm a beginner in JS and React world so this helps me a lot.

Thank you!

Collapse
Β 
tracycss profile image
Jane Tracy πŸ‘©πŸ½β€πŸ’» β€’

Haha, I won't tell your boss, I promise. πŸ™‚
Yeah, the links are where I got the question and answers from. I thought it would be useful if I shared them with my fellow beginners on the same journey as me.
Glad they helped in any way. πŸ’―πŸ™ŒπŸ½

Collapse
Β 
alexmelw profile image
Alex Melvin β€’ β€’ Edited

In case you wonder what are the arrow functions:
(x) => ({}) is equivalent to function(x) { return {} }.bind(this)

Collapse
Β 
tracycss profile image
Jane Tracy πŸ‘©πŸ½β€πŸ’» β€’

Yeah, I read about it in free code camp. But using arrow functions is easier.

Collapse
Β 
promikecoder2020 profile image
ProMikeCoder2020 β€’

Remember than when you use virtual Dom under the hood the framework uses real dom manipulation at some point. The myth that this was faster than connecting directly to the real DOM has been disproven many many times

Collapse
Β 
bobbyiliev profile image
Bobby β€’

Great questions! Well done πŸ™Œ

I think that those would be a great contributions to the quizapi.io/ project πŸ±β€πŸ‘€

Collapse
Β 
tracycss profile image
Jane Tracy πŸ‘©πŸ½β€πŸ’» β€’

Thank you, Bobby. πŸ™ŒπŸ½πŸ’―

Collapse
Β 
picwellwisher12pk profile image
Amir Hameed β€’

Label, isn't it like this?

<label htmlFor = {'name'}> </label>

Collapse
Β 
tracycss profile image
Jane Tracy πŸ‘©πŸ½β€πŸ’» β€’

Yes. The > was added in the wrong place as I made some changes.
Thank you. πŸ’―πŸ™ŒπŸ½

Collapse
Β 
ashiquens profile image
____ash__________ β€’

Thank you so much jane

Collapse
Β 
tracycss profile image
Jane Tracy πŸ‘©πŸ½β€πŸ’» β€’

Anytime. πŸ™‚πŸ’―πŸ™ŒπŸ½

Collapse
Β 
_alexkimeu profile image
Alex Kimeu β€’

Great article. Thank you for this.

Collapse
Β 
tracycss profile image
Jane Tracy πŸ‘©πŸ½β€πŸ’» β€’

Thank you, Alex. Hope it was helpful in any way. πŸ’―πŸ™ŒπŸ½

Collapse
Β 
ljcdev profile image
ljc-dev β€’

Awesome continuation to the series πŸ˜†!! Bookmarked πŸ‘Œ.

Collapse
Β 
tracycss profile image
Jane Tracy πŸ‘©πŸ½β€πŸ’» β€’

Hahaha, the series will have more posts for sure.
πŸ™ŒπŸ½πŸŽ‰

Collapse
Β 
k8hansen profile image
Kate Hansen β€’

I wish I would have had access to this awesome outline when I started learning! Awesome job with a clear summary on all major points. Thanks for this!

Collapse
Β 
tracycss profile image
Jane Tracy πŸ‘©πŸ½β€πŸ’» β€’

Thanks, I hope they help in any way. πŸ’―πŸ™ŒπŸ½πŸŽ‰

Collapse
Β 
jonyx profile image
jonyx β€’

Hey, you are good at pointing the key features in React,
Thanks

Collapse
Β 
tracycss profile image
Jane Tracy πŸ‘©πŸ½β€πŸ’» β€’

Glad it helped in any way. πŸ™ŒπŸ½πŸ™‚

Collapse
Β 
mshajid profile image
mshajid β€’

Well, This is a very comprehensive guide for react newbies, but I'm not agreeing on what you'd stated on the last statement, "Don't Google", by Googling helped me to find this goldmine.

Collapse
Β 
tracycss profile image
Jane Tracy πŸ‘©πŸ½β€πŸ’» β€’

I didn't say don't google. I said you can explain the basics without googling, that means you actually understand the concepts.
In most interviews, I am sure if they ask you to explain what arrow functions or advantages of react. They want to hear you explain it with your own words and how you understand it and not google it.
But hey, if they are okay with you googling the basic questions, it's still amazing. Do what works for you :)

Collapse
Β 
tracycss profile image
Jane Tracy πŸ‘©πŸ½β€πŸ’» β€’ β€’ Edited

Thank you so much, Max. Glad you find them useful in any way. πŸŽ‰πŸ™ŒπŸ½

Collapse
Β 
abulfazlhaidary profile image
Abulfazl Haidary β€’

Thank you very much for this great article.

Collapse
Β 
tracycss profile image
Jane Tracy πŸ‘©πŸ½β€πŸ’» β€’

Glad it will help in any way :)

Collapse
Β 
quantumk9 profile image
QuantumK9 β€’

Very nice and helpful post!! Even if you know the concepts, this is a great way to reflect on what you know (or think you do )

Thank you! :)

Collapse
Β 
tracycss profile image
Jane Tracy πŸ‘©πŸ½β€πŸ’» β€’

Yeah. When you repeat questions and answer then like you are explaining to a beginner, they will stick. This will be easier even during interviews :)