preact
preact copied to clipboard
Is there any rough timeline for when Suspense is production-ready?
Hey everyone,
Really loving preact and all you do. Thank you so much for making this excellent piece of engineering.
https://preactjs.com/guide/v10/switching-to-preact#suspense-experimental
I noticed that while Suspense
is available, it isn't recommended for use in production. Was just wondering if there was any rough timeline on when it is expected to become production ready?
Thanks again!!
There is a significant rewrite underway that we aim to land as Preact 11. One of the important part of this is to firm up Suspense support, at which point we'll likely un-mark it as experimental.
Thank you Jason!
@developit just thought I would ask, but is there any documentation or resource you know of on how lazy loading would be done without Suspense in preact?
We currently recommend using Preact's suspense mechanic. You can see a very small but complete example of this in preact-iso
:
https://github.com/preactjs/wmr/blob/master/packages/preact-iso/lazy.js
@developit - Hey Jason, is there any update on this?
+1