Scrivito application developers can now use hooks in components for widgets, pages and other elements for displaying CMS content. For this, Scrivito.provideComponent
, Scrivito.registerComponent
and Scrivito.connect
now support functional components that make use of React hooks, meaning that state and other React features are available without having to provide a class. For more information, see the React documentation about hooks.
In order to support React hooks, Scrivito now requires React 16.8 or later.