React is killing complex logics day by day more better code optimization better performance new React pattern (use() + async support): #ReactJS #FrontendDevelopment #WebPerformance #LearningInPublic #JavaScript #Consistency
you forgot a paranthese in use
It's definitely an improvement, but to make a fair comparison you should also show ErrorBoundary and Suspense
This doesn't work. use() takes a promise, not a function returning a promise. This is just a myth. Just try by yourself!