urugator

Results 135 comments of urugator

In case somone wants to PR, Map should be handling this correctly: https://github.com/mobxjs/mobx/blob/91adf79619533da4de04737eae83c61a4a8ffb92/packages/mobx/src/types/observablemap.ts#L375-L451

If you observe any kind of reactivity in your templates, it's not provided by `observable`. You can probably remove the `observable` call and it will work the same way. Without...

Possibly related https://github.com/mobxjs/mobx/pull/1811

Why `allowStateReads` is se to `true` by default? https://github.com/mobxjs/mobx/blob/main/packages/mobx/src/core/globalstate.ts#L95 that doesn't seem correct...

Will try to take a look over the weekend. It will require some adaptation to the reworked observers.

Update: I've spent a whole day on this, I've been dealing with some [unanticipated issues](https://github.com/mobxjs/mobx/pull/3649/files#r1375306679). It might be possible to resolve your issue without bothering about these, not sure atm....

Update: Should be ready for re-review + merge and we may tackle the other issues elsewhere.

I think it's because `repository.getEntity(3)` is called during render and contains a side effect. That alone is problemantic - subscribing to resources etc should be done done in `useEffect`. It...