from Hacker News

React 18 now available as Release Candidate

by valtism on 3/9/22, 5:04 AM with 2 comments

  • by grandpoobah on 3/10/22, 1:40 AM

    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);
  • by giorgioz on 3/10/22, 10:17 AM

    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)