hyperstack-org / hyperstack-org/hyperstack
possible problem with shared states and native js components
Đang mở
bug
- Ngôn ngữ chính
- JavaScript
- Star
- 538
- Fork
- 41
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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.
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.