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

151
Views
How to update unrelated component in react without refreshing the whole page?

Suppose I have 2 components A and B which are not linked (by props), but which are linked by the database. component A has a button that changes the data in the database.

I want component B (only with A) to render when the database changes. The problem is, that when the component A mutate the database, the page needs to be refreshed in order for component B to be updated.

It's may be a weird question but I'm still a beginner in React.

about 4 years ago · Juan Pablo Isaza
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!