Skip to content

Commit 612a7aa

Browse files
committed
docs: add jsdoc for withLazyViewModel HOC
1 parent 921e830 commit 612a7aa

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/nasty-peas-love.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"mobx-view-model": patch
3+
---
4+
5+
add jsdoc for `withLazyViewModel` HOC

src/hoc/with-lazy-view-model.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export interface LazyViewModelHocConfig<TViewModel extends AnyViewModel>
3030
Pick<LoadableConfig, 'loading' | 'preload' | 'throwOnError'> {}
3131

3232
/**
33-
* Lazy creates new instance of ViewModel
33+
* A Higher-Order Component that **LAZY** connects React components to their ViewModels, providing seamless MobX integration.
3434
*
3535
* [**Documentation**](https://js2me.github.io/mobx-view-model/react/api/with-lazy-view-model.html)
3636
*/

0 commit comments

Comments
 (0)