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

251
Visualizações
How front-end and back-end are supposed to communicate about links of notifications (routes)?

I'm trying to implement a react application in which it receives real-time notifications. Some of these notifications must include links, which are routes of application. When the user clicks on a notification, she should be redirected to the specific route.

My question here is how should the backend be aware of these routes? how should they communicate?

The only solution I could think of is to categorize these notifications and routes and, based on their categories, redirect users to the Corresponding routes.

Is there any other solution?

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

0

It's hard to understand without knowing more. but your solution for routes if you have a lot of different paths react-router seems the way to go. As far as "real-time" notifications I would look into socket.io and have your server listen for event changes and what to do with them ect.

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