hyperstack-org / hyperstack-org/hyperstack

possible problem with shared states and native js components

Open
#254 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
538
Forks
41
PR merge metrics
No merged PRs in 30d

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.