Migrated components

To improve performance and add new features, Content Hub has replaced the front-end Knockout framework with React. This change provides you with a better user experience and enables you to build newer custom components. Many pages have also been migrated to React.

Important

The migration to React is applicable only when upgrading to the latest version of Content Hub.

The following components are in React:

  • Creation

  • Details

  • Entity comments (also called the Discussion component)

  • Entity content (also called the Subfiles viewer)

  • Entity history viewer

  • Entity image viewer

  • Entity indicators

  • Entity operations

  • Entity rating

  • Entity renditions

  • HTML

  • Mass edit table

  • Navigation

  • Search

  • Search box

  • Selection

If a page is forced in Knockout, the older Knockout version of the component is used. For details of which pages render in full React and which in full Knockout, see migrated pages.

The move from Knockout to React results in differences between the old and the new version of components. Here are some of the most important differences:

  • CSS selectors have changed.

  • External components that search for an element based on a CSS selector cannot find that element.

  • CSS written for Knockout doesn't work with React. You'll need to change the CSS to React pages in the portal builder.

The Home page remains in Knockout, because it contains custom CSS and it loses custom styles when rendered in React. Similarly, there are no changes to saved searches and saved selections.

Do you have some feedback for us?

If you have suggestions for improving this article,