Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

250
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!