mobxjs / mobx-utils

Utility functions and common patterns for MobX
MIT License
1.19k stars 126 forks source link

docs: Minor update to createTransformer section #326

Closed taj-p closed 9 months ago

taj-p commented 9 months ago

Intent

I have to admit to a small gap in my understanding after reading the "create transformer in depth" section. After reading it, I totally missed the point that the function body of createTransformer also forms part of the reactive context (as opposed to just A) since the body is wrapped in computed (here).