Skip to content

Why is the molecule's value constructor called every time useMolecule is evaluated? #40

Closed Answered by loganvolkers
mfurtak asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @mfurtak I believe that this was reported as a bug in #39 and has been resolved in Bunshi 2.1.0

There are also new lifecycle hooks (onMount and onUnmount) to do more fine-grained control of memory-related operations.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mfurtak
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