Skip to content
Discussion options

You must be logged in to vote

If you want to share a calculation then it should come from the state model or a parent. Look into zustand for instance. That space game on the gh front did that, a store that's doing frame by frame calculations and nested components can listen to it without being re-rendered.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@dudleycraig
Comment options

@dudleycraig
Comment options

Answer selected by dudleycraig
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants