add MVVM handle component rendering