Code Study: GitHub Desktop / ui / ui-view.tsx

UiView is a high order component for housing a View.

In GitHub Desktop we currently define a view as a component which occupies the entire app save for the sidebar and minus any currently active popovers and of which there’s only ever one single instance active at any point in time. Examples of views are <Repository /> and <CloningRepository />. Examples of what’s not a View include the Changes and History tabs as these are contained within the <Repository /> view.

tags: GitHub Desktop - Electron - React