Skip to content

Missing features for offline first architecture #1915

Answered by EmilTholin
1mike12 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @1mike12!

This is one of the least explored areas of MST, and it was discussed a while back here. The main takeaway from that discussion is that a getReferenceCount type solution might be hard to implement since references are evaluated lazily in MST. This is almost always desirable, but unfortunate in this case.

It might be worth looking into mst-reference-pool by Jamon Holmgren for this use case, or at least take a look at the code for inspiration.

Replies: 1 comment

Comment options

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