Skip to content

Conversation

@ahulterstrom
Copy link
Contributor

What does it do?

This PR updates an import path for the unstable_useContentManagerContext hook in the migration documentation for Strapi v4 to v5.

Why is it needed?

I don't know if importing from '@strapi/strapi/admin/hooks' worked in v4, but it does not work in v5. The change helps developers use the correct import path as part of the migration process.

@strapi-cla
Copy link

strapi-cla commented Jan 21, 2025

CLA assistant check
All committers have signed the CLA.

@vercel
Copy link

vercel bot commented Jan 21, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
documentation ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 21, 2025 8:32pm
Copy link
Collaborator

@pwizla pwizla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @ahulterstrom!

The PR is now approved, merged, should be live on docs.strapi.io in a few minutes, and will be mentioned in the next weekly snapshot release.

@pwizla pwizla self-assigned this Jan 22, 2025
@pwizla pwizla added this to the 5.5.3 milestone Jan 22, 2025
@pwizla pwizla added source: Dev Docs PRs/issues targeting the Developer Docs pr: fix Used on the docs repo for anything that is not "new" or "updated" content: chore, typos, fixes, etc. temp - port to docs-next (Temporary label) The content of this PR should be ported to docs-next.strapi.io labels Jan 22, 2025
@pwizla pwizla changed the title fix incorrect incorrect import of unstable_useContentManagerContext in Helper-plugin migration reference Fix incorrect incorrect import of unstable_useContentManagerContext in Helper-plugin migration reference Jan 22, 2025
@pwizla pwizla changed the title Fix incorrect incorrect import of unstable_useContentManagerContext in Helper-plugin migration reference Fix incorrect import of unstable_useContentManagerContext in Helper-plugin migration reference Jan 22, 2025
@pwizla pwizla merged commit 99d9ef7 into strapi:main Jan 22, 2025
3 checks passed
pwizla added a commit that referenced this pull request Feb 20, 2025
@pwizla pwizla removed the temp - port to docs-next (Temporary label) The content of this PR should be ported to docs-next.strapi.io label Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: fix Used on the docs repo for anything that is not "new" or "updated" content: chore, typos, fixes, etc. source: Dev Docs PRs/issues targeting the Developer Docs

3 participants