-
***
☝️ **Important announcement:** Greenkeeper will be saying goodbye 👋 and passing the torch to Snyk on June 3rd, 2020! [Find out how to migrate to Snyk and more at greenkeeper.io](https://greenkeep…
-
I have a situation in which I need to derive one model from another (i.e. create a model view, somewhat related to [`createTransformer`](https://www.mobxjs.com/refguide/create-transformer.html)) and w…
-
I highly recommend you guys consider moving to Mobx Keystone, the successor in many ways to mobx-state-tree.
https://mobx-keystone.js.org/
Keystone is built by one of the maintainers of MST and …
-
The docs are currently based on [Docz](https://www.docz.site/) which is lightweight, quite flexible, and based on Gatsby :+1:. However, I'm thinking it might be nice to switch to [Docusaurus](https://…
-
Hey!
I have experienced a few situations where I need to set a default property value depending on an other creation data property.
For example:
```ts
export class MyModel extends Model({
name:…
dodas updated
2 years ago
-
The suggestions overlay is partially outside the viewport (on the left) on small screens:
![image](https://user-images.githubusercontent.com/2206639/146200230-d6a4a1b4-c7d6-4c5a-a39a-3c903c8b994a.png…
-
Given the following exports in package.json
```
"exports": {
".": {
"import": {
"webpack": "./dist/index.import.js",
"default": "./dist/index.import.mjs"
},
…
-
Suppose I have class:
```typescript
interface NodeTree {
siblings: T[];
parent: T | undefined;
hasChildren: boolean;
}
@model('NoteBlockModel')
export class BlocksTreeNodeModel exten…
-
A challenge we had with Mobx State Tree was that our model files grew too big, with too many `actions` and `views` per javascript file. We were able to solve this by using the pattern suggested in thi…
-
In MST I've needed to keep a model's default values in a snapshot and then apply that snapshot in order to reset an instance's properties back to their defaults. This never seemed optimal or elegant. …