Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

141
Visualizações
Do we use javascript's callback functions in frontend? or it is usually used in backend?

I have some difficulty understanding the application of the callback functions. where do we use it usually? Do we use it in frontend?

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

It really depends on what you are doing. I, personally, prefer to use async/await over higher-order functions (AKA callbacks). I find that higher-order functions can be useful when writing more complex error handling for back end APIs. Here is a bit of reading that may help you decide which to use and when.

https://adrianmejia.com/callbacks-concurrency-in-javascript-node/

https://vegibit.com/javascript-callbacks-vs-promises-vs-async-await/

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda