hyperstack-org / hyperstack-org/hyperstack
possible problem with shared states and native js components
Aberta
bug
- Linguagem predominante
- JavaScript
- Estrelas
- 538
- Forks
- 41
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
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.
Guia de contribuição
Avaliação
Esta issue ainda não foi avaliada.