Browse Source
This is a subtle edge case caused when a stateful component triggers a self re-render, which reuses cached slot nodes. The cached slot nodes, if returned from a functional render fn, gets the fnContext property which causes subsequent slot resolving to not function properly. To fix this, nodes returned from functional components need to be cloned before getting assigned fnContext. fix #7817dev
Evan You
7 years ago
2 changed files with 48 additions and 9 deletions
Loading…
Reference in new issue