2 comments

[ 2.1 ms ] story [ 13.9 ms ] thread
So pleased about the batching state updates.

I much prefer splitting my state into individual properties, but I always felt like I was going against the grain and doing something "naughty". With these new changes, it feels like my preference has been recognised as legitimate and I feel vindicated.

    setPendingPrintJob(null);
    setHasPrinted(true);
    setOrder(response.order);
We have been migrating all our services to React 18 beta in the past months. We are now at 80% services in React 18. We have been using heavely the new SSR + Suspense.

Feel free to ask anything and I'll try to see if I can help you!

(I'm not part of the React team, just used React 18 heavily in the past months in production)