hyperstack-org / hyperstack-org/hyperstack

possible problem with shared states and native js components

Ouverte
#254 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
bug
Langage dominant
JavaScript
Étoiles
538
Forks
41
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

Not sure 100% what is going on, but when you use the Ant design tables, with a "render" column, and the render callback references shared state (like a hyper-model record value), there is no rerender of that component when the state changes. Suspect its because the rendering_context is somehow incorrect.

The work around is to access that same state variable somewhere else in a component that will call the HOC component.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.