refactor: remove unused inheritRef option
This is technically a breaking change, but the option was not meant for public use and ended up not solving the problem it was introduced for.
This commit is contained in:
@@ -180,10 +180,6 @@ export function renderComponentRoot(
|
||||
}
|
||||
root.transition = vnode.transition
|
||||
}
|
||||
// inherit ref
|
||||
if (Component.inheritRef && vnode.ref != null) {
|
||||
root.ref = vnode.ref
|
||||
}
|
||||
|
||||
if (__DEV__ && setRoot) {
|
||||
setRoot(root)
|
||||
|
||||
Reference in New Issue
Block a user