ctrlplusb / react-async-component

Resolve components asynchronously, with support for code splitting and advanced server side rendering use cases.
MIT License
1.45k stars 62 forks source link

Informing about React.lazy() #95

Open iddan opened 5 years ago

iddan commented 5 years ago

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().

mschipperheyn commented 5 years ago

lazy doesn't support SSR yet

iddan commented 5 years ago

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