Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Infinite update cycle bug used to appear when I log into system, navigated between few pages, logged out and login with another user.
I am not able to show my code, but I can say that I did everything according to tutorial.
As I think, the problem could be lying into the sandboxGetter. So infinite cycle occurred on the perimeter computed property in the component, that uses multiple perimeters at once. Therefore for each perimeter in that component the new sandbox has been initialized. Within that process there could be created some links between sanboxes instances or they could be mutating each other and that could be causing infinity update loop.
So I have edited source code. Now the sandbox is being instantiated only once per component instantiation. That change fixed the problem I have had. But as I think, that change removed reactive link between sandbox and child getter (if there was one) :(