From the course: SharePoint Framework for Developers: 4 Managing External Libraries

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

A Knockout web part

A Knockout web part

From the course: SharePoint Framework for Developers: 4 Managing External Libraries

Start my 1-month free trial

A Knockout web part

- Now, one other very popular framework emerging these days is Knockout. Knockout is heavily opinionated towards the MVVM design pattern. Now, I'm not here to start a religious war on what design pattern works better. AngularJS prefer to use MVC. The new Angular and React, they don't really tie you to a pattern, even though the React community seems to prefer Redux and Angular still prefers to use MVVM, MVC, or it lets you use Redux, if that's what you want, however, I think it's fair to say that Knockout is an important framework, and certainly SharePoint Framework has part of it. Now, one good thing I really like about MVVM is that this MVVM design pattern allows me to keep the separation of views completely separate, so when you talk about a React web part, it has everything, the html and typescript and all of that put together in a single file, or a tsx file... Some people don't like that, so let's see how SharePoint Framework chooses to use KnockoutJS. So back in my terminal…

Contents