-
Notifications
You must be signed in to change notification settings - Fork 26.3k
feat(core): move DOCUMENT token into core #60663
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Moves the `DOCUMENT` token from `common` into `core` since it's relevant for lots of SSR use cases and users shouldn't have to install `common` for it. The token is still exported through `common` for backwards compatibility.
Adds a migration that moves imports of `DOCUMENT` from `common` to `core`.
const {position, end, toInsert} = current.update.data; | ||
const key = current.projectFile.id + '/' + position + '/' + end + '/' + toInsert; | ||
|
||
if (!seen.has(key)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should really come up with something for this 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Reviewed-for: public-api
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reviewed-for: public-api
Adds a migration that moves imports of `DOCUMENT` from `common` to `core`. PR Close #60663
This PR was merged into the repository by commit accc65c. The changes were merged into the following branches: main |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Moves the
DOCUMENT
token fromcommon
intocore
since it's relevant for lots of SSR use cases and users shouldn't have to installcommon
for it. The token is still exported throughcommon
for backwards compatibility.