fix(globe): update cobe API usage#963
Closed
Archkon wants to merge 3 commits into
Closed
Conversation
|
@Archkon is attempting to deploy a commit to the product-studio Team on Vercel. A member of the Team first needs to authorize it. |
Member
|
@Archkon cobe v2.0 was just released (2026-03-18) and is too fresh to bump a major version in a registry component that ships to all consumers. The current |
Author
|
I don't understand that if someone just use "npx shadcn@latest add @magicui/globe" command according to the website installation guide and that doesn't work at all due to dependent package version. |
Member
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Updates the Globe component to use the latest COBE rendering API.
Replaces the deprecated onRender callback flow with an explicit animation loop that calls globe.update().
Changes
Motivation
COBE v2 exposes update() / destroy() as the primary lifecycle API, while the previous onRender callback usage is outdated. This
keeps the Globe component compatible with the latest COBE API and avoids relying on deprecated configuration behavior.
Breaking Changes
None.
Screenshots