Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (16 sloc) 670 Bytes
name menu
hidden
APIs

hidden={true}

Current API: should be implemented in v16.7

when a HTML component sets the hidden={true} property, React will automatically change the priority of this subtree so that it won’t be part of the initial render. The idea is to e.g have a tab component that can render out every window in advance so switching tabs is super fast but it only needs to display the first tab’s content in the initial render so the hidden tabs can be deprioritized.


Next: Roots


Recommended Sources for further info:

  • Suspense! ReactFest 2018 - Video
You can’t perform that action at this time.