DEV Community

Discussion on: Frontend Interview Experience at Amazon Germany

Collapse
 
snikhill profile image
Nikkhiel Seath

Thank you for sharing this.
This post has enabled me to see what I myself need to learn in order to progress further.

I do have a question, may I please how scalability of a code written for Frontend judged? Like, optimising the Image sizes? Preloading the fonts? Code Splitting?

I shall be looking forward to hearing from you.

Collapse
 
learnersbucket profile image
Prashant Yadav • Edited

More than that.

Lets take a simple example.

You are asked to create a simple button component in React.

You created a simple button component.

Now the interviews wants different variations of button. You update the code again.

Now the interviewer wants to add different states to button. On hover different color, On click different color, on once clicked different color. on double click different color.

Now the interviewer wants you to create a group of button that have array of functionality.

So as he is asking you to do things, you are updating the code. Your approach should be to clarify these questions in the beginning and then create the component.

Now look at a bigger picture.

Your asked to create a new web app that will go along with facebook.

How would you create it.

Will it be separate application or goes along with the existing (integratable, injectable).

You should develop it is a widget and micro-frontend approach. If it is not integrated with existing app, it should force authenticate, otherwise bypass.

These are the minute details they look.

There are various things around it and one should question it, that is what they are looking for.

Now the question is how is it scaling?.

It is scaling feature wise, not optimization or speed wise.

Hope you got it.

Collapse
 
snikhill profile image
Nikkhiel Seath

Ahh, I see. Thank you for explaining the same. I actually considered scaling as in scaling performance wise.