Listen for value changes of an Entity #254
eriksachse
started this conversation in
General
Replies: 1 comment 4 replies
-
This is the expected behaviour, but I will update the docs to make that clearer! The You'd need to do change detection for component values in user-land. There are many ways you could do this. Just some examples:
I've been apprehensive about doing this in the library itself, I haven't settled on a good approach yet. This may change in future 🙂 |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In the docs it says
...will re-render when the query results change.
https://github.com/isaac-mason/arancini/tree/main/packages/arancini-react#usequery
But when querying e.g. health props of an entity, it doesn't show until you rerender a component.
CBS
Beta Was this translation helpful? Give feedback.
All reactions