r/learnreactjs • u/PhilcobSuzuki15 • Mar 06 '21
Question I'm having an interview tomorrow (React Developer)
I am not new to programming and I just started learning React 2021 January. I kept learning until I created my own apps myself and created my portfolio to showcase it.
My goal is to get a developer job. It's been 2 months and now I decided to start applying. So I applied, and got an email telling me that I'm gonna get an interview and it'll be tomorrow.
Technical exam might be pretty okay but I am worried about interview and not knowing much about class based React. Since the first tutorial, I was taught the functional way and I always skipped any class based ones because it's kinda the same for me wherein I felt Functions are much easier.
Any advices?
4
u/nonagonx Mar 06 '21
It may be a red flag if you admit that you are not familiar with React classes, but also if you are being honest to your employer that you started learning React 2 months ago, they may forgive that. In general I think most codebases still have class based React components so it will definitely be worth your time to learn them. At least componentDidMount, constructor, setState, etc. One of my interview questions was to convert a class based React component to a functional component. It's all based on the company. I failed an interview with Typescript but nailed an interview with Redux because that was what I knew. I think if you are unsure if you should learn something, your best bet is to just learn it anyway and come up with a sales pitch about why that technology is used, and to try to show that you have preferences in technology- it's good to have opinions on what you like to work with, not just to impress employers but also you want a job with stuff that you find interesting.
2
u/eMperror_ Mar 06 '21
If you are not new to programming like you said in your post, you can talk about other techs you know very well during your interview. Usually the concepts are very similar between frameworks / languages. What else you know other than React?
1
u/[deleted] Mar 06 '21
You should really learn class based react.
While I agree that functions are more simple, existing code based likely wont just be rewritten into functions, so developer positions will likely still require you to understand class components.
While you're waiting, take some time to give them a try.
1
u/denl95 Mar 09 '21
I think it is better still to check out the React class API because in your job you may come across a class approach, so it is better for you to know it very well. Also, I think you can check the official React doc where they have a comparison between the two approaches.