Closed barbalex closed 1 year ago
Hey @barbalex!
Sorry it took so long for anyone to get back to you. I think this is an interesting idea. But much like the issue you referenced, I also think that the recommendation/closing is appropriate here, as discussed in https://github.com/mobxjs/mobx-state-tree/issues/1318#issuecomment-511149401.
But what I'll do to make sure this conversation is available is convert it to a discussion. That'll close out the issue, but leave the opportunity for you and/or other folks to think about this more. If we get someone to champion an approach or implementation, maybe we can find a way forward.
Feature request
Is your feature request related to a problem? Please describe.
Calculating views synchronously can become a burden for the ui. Seems to a noob like me it would be great if their calculation could be offloaded to workers.
Describe the solution you'd like
There is a closed issue to generally offload store calculations to workers (https://github.com/mobxjs/mobx-state-tree/issues/1318).
It was closed because though an interesting idea there was no clear way forward yet. I am not adding anything substantial to that situation. So feel free to close this issue too.
But:
Describe alternatives you've considered
This is way out of my league. Above ideas may be way off.
Are you willing to (attempt) a PR?