2 ms·
You can already do that without concurrent mode, though. Let's say you have a navbar (your website's header), a list of things asynchronously retrieved from an
by JMTQp8lwXL 7y ago
You can already do that without concurrent mode, though. Let's say you have a navbar (your website's header), a list of things asynchronously retrieved from an API, and a footer.
const myApp = () => (
<Header />
<Body />
<Footer />
);
Body can make the network request, and store the result in state. Since the network request took 200ms, Header and Footer have already rendered.