mobxjs / mobx-state-tree

Full-featured reactive state management without the boilerplate
https://mobx-state-tree.js.org/
MIT License
6.9k stars 640 forks source link

Missing docs for `types.lazy` #2156

Open coolsoftwaretyler opened 4 months ago

coolsoftwaretyler commented 4 months ago

Bug report

We should have documentation for types.lazy, introduced in https://github.com/mobxjs/mobx-state-tree/pull/1722, but we neglected to enforce that.

Describe the observed behavior

There is no documentation. We'll reach out to the original author to see if they want to add it. If we don't hear back soon, someone on core team will handle it or find a volunteer to do so.

coolsoftwaretyler commented 4 months ago

Hey @clgeoio - it's probably been a while since you heard from us at MobX-State-Tree, but we realized that your types.lazy (which is awesome by the way) never got documented.

Do you have any interest in writing those docs for us? Let me know either way, thank you!

jamonholmgren commented 4 months ago

There is this: https://github.com/mobxjs/mobx-state-tree/blob/master/docs/API/index.md#lazy

I can't seem to find it on the website, though. Maybe just needs to be deployed?

Also needs a usage example.