Gleb Kochergin
Gleb Kochergin
Just found this issue while trying to solve the same problem for project using babel with plugin-proposal-decorators (legacy mode). My workaround is to define own decorators which exploit babel's internal...
Make sure to specify concrete return types for views/actions which return other nodes, otherwise inferred return types are really huge.
This is actually by-design. It's stated in the [docs](https://mobx-state-tree.js.org/concepts/volatiles) that volatile is preserved during the lifecycle, so when one makes a clone - the new node is created and it's...
@mattiamanzati sounds nice. I have two questions: 1) Will those type declarations on model be optional to use? The thing I'm afraid of is that amount of code to be...
There is a problem with memory consumption in MST. I did some research in the past. There are three ways of reducing the footprint: 1. The first one is "[selfless...
> I'd love to upload a git repo example or codesandbox with my implementation if you'd be interested in glancing through it to see where the memory could possibly be...
@techknowfile , thanks for the repo, it's a great starting point for the investigation! Could not find anything worthful at a glance, but will dig deeper this week. Would be...
I suspect we should do the same for `volatile()`/`views()`/`actions()`/`extend()`?
I'm not sure why there is no code as I can see it (src/index.ts file). Here's the picture:  And here's the code: ```ts import { types } from "mobx-state-tree";...
We use the following function to overcome the topic issue: ```typescript export type IOverridenModelType = BASE extends IModelType< infer P, infer O, infer CC, infer CS > ? IModelType :...