ctrlplusb/react-async-component

Informing about React.lazy()

iddan opened this issue · 2 comments

iddan commented

This week the React team introduced a new library feature: React.lazy() which replicate this library functionality by using newly introduced React concept: React Suspense for promise resolution and error boundaries for error management.
react-async-component has been a wonderful solution for my projects in the last year and I'm grateful for that. Now that it's solution has been integrated into the React core I think it would be suiting to inform users that use latest React that they can use lazy().

lazy doesn't support SSR yet

iddan commented

True, yet for non SSR use and future use when it will be supported it should be informed.