helper-plugin migration reference
This document has been written to help developers migrate their Strapi plugins and applications to not use the helper-plugin package.
It lists every export that existed in the helper-plugin package, in alphabetical order and grouped by domain.
Components
AnErrorOccurred
This component has been removed and refactored to be part of the Page component exported from @strapi/strapi/admin. You should use the Page component from there:
// Before
import { AnErrorOccurred } from '@strapi/helper-plugin';
const MyPage = () => {
// ...
if (error) {
return <AnErrorOccurred />;
}
// ...
};
// After
import { Page } from '@strapi/strapi/admin';
const MyPage = () => {
// ...
if (error) {
return <Page.Error />;
}
// ...
};