6 ms·
it's a new "hook", https://vived.io/new-hook-is-coming-to-react-frontend-weekly-vol-109/ https://vived.io/new-hook-is-coming-to-react-frontend-weekly... https:/
by nthitz 4y ago
it's a new "hook", https://vived.io/new-hook-is-coming-to-react-frontend-weekly-vol-109/ https://vived.io/new-hook-is-coming-to-react-frontend-weekly... https://github.com/reactjs/rfcs/pull/229 https://github.com/reactjs/rfcs/pull/229 contain some discussion
- Vinnl 4y agoBut `use` is still just in the RFC phase, right? How can Next.js already be (committing to) using it?
- andrewingram 4y agoThey’re essentially both in beta, but for something like this, React needs a proving ground - hence it’s being used in Next’s beta functionality
- Vinnl 4y agoOh! I'd mis-parsed the heading sizes, didn't realise the "data fetching" heading was underneath the "app/ directory (beta)" heading, and thus that they were both in beta. Thanks!