Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Composition API for bridge #102

Closed
11 of 14 tasks
pi0 opened this issue Sep 22, 2021 · 3 comments
Closed
11 of 14 tasks

Composition API for bridge #102

pi0 opened this issue Sep 22, 2021 · 3 comments
Assignees
Labels

Comments

@pi0
Copy link
Member

pi0 commented Sep 22, 2021

Plan:

Checklist:

@pi0
Copy link
Member Author

pi0 commented Sep 22, 2021

A quick comparison table between exports of vue@2, vue@3 and @vuejs/composition-api: https://docs.google.com/spreadsheets/d/1I1l4zr2GfyvDiDWj4QCSYCoMpa0ANzcvYWbiFT5MgWE/edit#gid=0

@pi0
Copy link
Member Author

pi0 commented Oct 2, 2021

Checking unplugin-vue2-script-setup for <script setup> support for vue 2, it seems already a nice implementation but top-level await marked as unsupported. /cc @antfu Is it because of async setup() support for vue 2? We might find a way to suspend page navigations with fetch and asyncData() Without suspense supporting await for nuxt 2 seems a bad solution. We will keep with useLegacyFetch only that does not blocks navigation.

@pi0
Copy link
Member Author

pi0 commented Oct 12, 2021

Most important composables are backported. We shall create a new issue for adding some more Nuxt 2 -only composables

@pi0 pi0 closed this as completed Oct 12, 2021
@danielroe danielroe transferred this issue from nuxt/framework Apr 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants