Skip to content
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

the prev line createContainer, root.current = new FiberNode(...), the fiber node will be freeze with preventExtensions api , markContainerAsRoot is not effect in here. #26384

Closed
jeryqwq opened this issue Mar 14, 2023 · 0 comments

Comments

@jeryqwq
Copy link

jeryqwq commented Mar 14, 2023

markContainerAsRoot(root.current, container);

the prev line createContainer, root.current = new FiberNode(...), the fiber node will be freeze with preventExtensions api , this line is not effect in here.

  function markContainerAsRoot(hostRoot, node) {
    node[internalContainerInstanceKey] = hostRoot;
  }
@jeryqwq jeryqwq changed the title the prev line createContainer, root.current = new FiberNode(...), the fiber node will be freeze with preventExtensions api the prev line createContainer, root.current = new FiberNode(...), the fiber node will be freeze with preventExtensions api , markContainerAsRoot is not effect in here. Mar 14, 2023
@jeryqwq jeryqwq closed this as completed Apr 3, 2023
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

No branches or pull requests

1 participant