composition-api icon indicating copy to clipboard operation
composition-api copied to clipboard

Composition API hooks for Nuxt 2.

Results 69 composition-api issues
Sort by recently updated
recently updated
newest added

From Discord --- Examples area could use some work first. It seems to not be working properly Now I am able to see code in github but not in the...

documentation

* use nuxt test utils where possible * migrate to expect-type

enhancement

writing files shouldn't be part of the bundled server-side library - needs to be extracted into the module

bug

There is a need to show all features in practice, not just `useFetch`. Perhaps we could move some of the [test fixture content](https://composition-api.now.sh/fixture) into the demo app. See #58.

documentation
good first issue

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/typescript-eslint) | [`^5.37.0` -> `^5.38.0`](https://renovatebot.com/diffs/npm/@typescript-eslint%2feslint-plugin/5.37.0/5.38.0) | [![age](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2feslint-plugin/5.38.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)...

``` import { defineComponent, ref } from '@nuxtjs/composition-api' export default defineComponent({ setup() { const formatSettingsExpand = ref(false) return { formatSettingsExpand, } } }) ``` - I tried all of the...

needs-repro

**🐛 The bug** Installing the `@nuxtjs/composition-api` to the codebase that is currently using Nuxt 2, but can not use Composition-API (`ref`, `reactive`, ...), the error happened as following screenshot: **🌈...

bug

**🐛 The bug** If we set ssrRef to null it becomes undefined at client-side. **🛠️ To reproduce** it's because of nullish coalescing operator: https://github.com/nuxt-community/composition-api/blob/main/src/runtime/composables/ssr-ref.ts#L60 **🌈 Expected behaviour** Treat null as...

bug

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@babel/traverse](https://babel.dev/docs/en/next/babel-traverse) ([source](https://togithub.com/babel/babel/tree/HEAD/packages/babel-traverse)) | [`^7.22.8` -> `^7.23.9`](https://renovatebot.com/diffs/npm/@babel%2ftraverse/7.22.8/7.23.9) |...

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/typescript-eslint) ([source](https://togithub.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin)) | [`^5.62.0` -> `^7.0.2`](https://renovatebot.com/diffs/npm/@typescript-eslint%2feslint-plugin/5.62.0/7.0.2) |...