React 18 now available as Release Candidate
reactjs.org
reactjs.org
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);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)