strapi 5 requires react-router-dom > 6 and the helper plugin requires < 6 because it depends on ‘useHistory’
This topic has been created from a Discord post (1291833900519391354) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord
although Helper-plugin migration reference | Strapi 5 Documentation => import { unstable_useContentManagerContext as useContentManagerContext } from ‘@strapi/strapi/admin/hooks’;
=> [plugin:vite:import-analysis] Missing “./admin/hooks” specifier in “@strapi/strapi” package
it should be:
import { unstable_useContentManagerContext as useContentManagerContext } from ‘@strapi/strapi/admin’;
1 Like