Skip to content

Comment on React 18 now available as Release Candidate

Comments

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);
AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.