1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-16 04:04:06 +02:00

Use callback-style ref in Element component (#5105)

* Use callback-style ref in Element component

* Add changeset
This commit is contained in:
Simon Chan
2022-09-06 12:15:47 +08:00
committed by GitHub
parent 98afb5abf8
commit 55b9574097
2 changed files with 21 additions and 17 deletions

View File

@@ -0,0 +1,5 @@
---
'slate-react': patch
---
Change `Element` component to use callback-style ref to reliably track DOM node of rendered custom elements