Do you have any plans support vue3 suspense? #12
-
Vue3 is so similar with react。 I don't why they choose vue as project framework. we obviously can choose a more mature framework such as react😒😒 |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
Sorry just some complaints😅 |
Beta Was this translation helpful? Give feedback.
-
Hi, I will try to come up with some clean way to support Suspense. I was thinking about something along:
But I need to test that. |
Beta Was this translation helpful? Give feedback.
-
any way... the suspense can not used in Vue2.x. do you have any ideas. i found this repo but it not ideal to work. suspense is a particularly useful feature. i am figure outing to use it in vue2 |
Beta Was this translation helpful? Give feedback.
-
Sometimes suspense is overkill if you want suspense for a simple API request just make a suspense component and toggle it on or off with state explicitly. I do that in nextjs since it doesn't support suspense fully yet (experimental) |
Beta Was this translation helpful? Give feedback.
Hi, I will try to come up with some clean way to support Suspense.
I do not think that the react-query way would work in Vue (although I might be wrong).
I was thinking about something along:
But I need to test that.