Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

84
Vistas
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
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda