Replacing Legacy throw in React 19 with Suspense and use

React once used thrown Promises for Suspense. .use() is recommended now, but legacy throwing is still supported.