hyperstack-org / hyperstack-org/hyperstack
possible problem with shared states and native js components
Offen
bug
- Vorherrschende Sprache
- JavaScript
- Sterne
- 538
- Forks
- 41
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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.
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.