Skip to content

feat: Add null to several ref types #3839

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

Closed
wants to merge 2 commits into from

Conversation

yf-yang
Copy link
Collaborator

@yf-yang yf-yang commented Dec 8, 2024

Checklist

  • yarn typecheck
  • yarn lint:fix
  • yarn test
  • yarn brl
  • yarn changeset
  • ui changelog

related? I cannot recall the behavior of React 18, but seems now with React 19 useRef<XXX> returns React.Ref<XXX | null> and some type checks fail

Copy link

codesandbox bot commented Dec 8, 2024

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

Copy link

changeset-bot bot commented Dec 8, 2024

🦋 Changeset detected

Latest commit: 7ae02c9

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 22 packages
Name Type
@udecode/react-utils Patch
@udecode/plate-selection Patch
@udecode/plate-combobox Patch
@udecode/plate-floating Patch
@udecode/plate-caption Patch
@udecode/plate-heading Patch
@udecode/plate-cursor Patch
@udecode/plate-emoji Patch
@udecode/cmdk Patch
@udecode/plate-core Patch
@udecode/plate-dnd Patch
@udecode/cn Patch
@udecode/plate-common Patch
@udecode/plate-utils Patch
@udecode/slate-react Patch
@udecode/plate-ai Patch
@udecode/plate Patch
@udecode/plate-mention Patch
@udecode/plate-slash-command Patch
@udecode/plate-link Patch
@udecode/plate-basic-elements Patch
@udecode/plate-docx Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

vercel bot commented Dec 8, 2024

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

Name Status Preview Comments Updated (UTC)
plate ❌ Failed (Inspect) Dec 8, 2024 2:50pm

@zbeyens
Copy link
Member

zbeyens commented Dec 8, 2024

2024-12-08 at 15 48 28

You can try to run yarn typecheck in apps/www

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants