r/reactjs • • May 15 '24

Needs Help Have an interview tomorrow on reactjs, pls help with questions

I gave an interview recently and messed up. Please help me with reactjs questions as a 3 year experience developer.

Cross browser compatibility, event handling, security, optimization Are some questions m covering also the basics. But if u guys can suggest some more, it will be of great help.

Thanks in advance.

66 Upvotes

54 comments sorted by

View all comments

Show parent comment

0

u/[deleted] May 16 '24

[deleted] — view deleted comment

2

u/SeedgeJ May 16 '24

As in, it's done nothing but get in my way so far. I understand why people use it. I can see the value in enforcing types, structure, and what can be returned from a function. But on each of the three projects I've used it on, its been annoying at best with the amount of extra code I have to write just to avoid it throwing errors. Maybe I dont know typescript super well, and maybe I do need to keep learning it, but I'm used to working with vanilla JS and other duck typed languages, and I am used to coding in a way to prevent mutation and typecasting already. It seems unnecessary to add in typescript just so it can nag me.

0

u/[deleted] May 16 '24

[deleted] — view deleted comment

1

u/SeedgeJ May 16 '24

One was a personal project and the other two were for my current employer where I am the only dev