ViewModelFactory - Andrei15193/react-model-view-viewmodel GitHub Wiki

API / ViewModelFactory<TViewModel> alias

Represents a view model factory callback.

type ViewModelFactory<TViewModel extends INotifyPropertiesChanged | null | undefined>
  = () => TViewModel;

Source reference: src/hooks/UseViewModelMemo.ts:11.

Generic Parameters

⚠️ **GitHub.com Fallback** ⚠️