Hello everyone, Now that React Suspense is out, should I replace my react-loadable? Or should I wait couple of months for it to become mature? thanks
If you are using CRA, first update to CRA2 if already not updated. Then you can wait few weeks(I would say not couple of months). And if your team has extra bandwidth to do the migration, after 1 month is fine I would say.
I don't think React Suspense has something more to offer than what React Loadable provides. Isn't it? If there's very minimal, I don't think replacing the existing one is worth the effort.
But when you introduce React Concurrent or React Cache (both are in beta though) then using Suspense would certainly be useful.
Even though everything looks so stable, and Facebook has been internally using these for months and I think its ok to switch. But I'll will until it goes out of 'alpha'
Dave Ceddia
Javascript developer
I'd suggest waiting. react-cache is the data loading part and it's not production-ready yet.