hyperstack-org / hyperstack-org/hyperstack

possible problem with shared states and native js components

Aberta
#254 0 comentários 0 reações 0 responsáveis Ver no GitHub
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

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.