facebook / react

The library for web and native user interfaces.
https://react.dev
MIT License
227.54k stars 46.42k forks source link

React 18 Whether to support keepalive? #24090

Open DreamPWJ opened 2 years ago

DreamPWJ commented 2 years ago

Vue officially supports the keepalive method, and it works well https://vuejs.org/guide/built-ins/keep-alive.html

JSerZANP commented 2 years ago

From the release note of 18, https://reactjs.org/blog/2022/03/29/react-v18.html Looks like there is going to be a <Offscreen/> or <Visibility/> Component that does this

Screenshot 2022-03-30 at 16 17 09
frontend-winter commented 2 years ago

18版本是不可能了,慢慢等吧

Jalilvand-MJ commented 1 year ago

When is the estimation of Offscreen's release time?

eltonio450 commented 11 months ago

Hello,

It's been a year since the last message on this thread, do we know more about when Offscreen will be released ? Could not find the info anywhere

Thank you

Evoque commented 1 month ago

Still waiting for Offscreen