Pergunta de entrevista da empresa ShakeDeal

Why do we use ReactJS over Venilla JS?

Resposta da entrevista

Sigiloso

17 de abr. de 2024

I explained how Easy to scale and manage the state. That's hard on VenilaJS. The advantage of using Vanilla JS is much more efficient than React. The interviewer assumes Vanilla JS is less efficient than React because document.getElementById().innerHTML will also affect the parent element which is totally wrong. I explained that ReactJS is limited by APIs of JS if something is possible by React it should can able to implement via vanilla js.