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

83
Views
How to manage an AntDesign Tree with React Query

I am trying to create an asynchronous editable tree with And Design and I want to use React Query for data management, since it will make managing different branches of the tree querying data from different sources much easier.

Sadly Ant Design has very bad support for HOCs, making it impossible to wrap a TreeNode with a custom component that would manage it's children via a useQuery hook.

As a result since I cannot dynamicaly add hooks based on new nodes being expanded, I would like to ask if there are already common practices or solutions for these kinds of situations, where we need to add more data sources (more hooks), but can't create new components to store them in.

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!