atinux / atinotes Goto Github PK
View Code? Open in Web Editor NEWAn editable website with universal rendering on the edge.
Home Page: https://notes.atinux.com
License: MIT License
An editable website with universal rendering on the edge.
Home Page: https://notes.atinux.com
License: MIT License
Hi @atinux! Hope you are doing well.
I was wondering if there is an update about creating a custom fetch composable that adapts the current Nuxt version 3.10.X because I believe your blog post is a bit behind from current changes and right know the Nuxt vesion I am using is showing a warning that I haven't solved which is [nuxt] [useFetch] Component is already mounted, please use $fetch instead. See https://nuxt.com/docs/getting-started/data-fetching
.
I have followed the videos that the community suggest in this nuxt issue but the warning persists.
Thanks!
npm run preview
requires npm run build
which requires purchasing a PRO UI license. Makes it difficult to kick the tires unless you fork out $250 for a license.
Reproduction: https://stackblitz.com/edit/atinotes-1
Thanks for sharing the way to make a custom useFetch
. But I found some type bugs with useAPI
:
error TS2322: Type '() => never[]' is not assignable to type '() => Ref<null> | null'.
Type 'never[]' is missing the following properties from type 'Ref<null>': value, [RefSymbol]
useAPI
still returns a nullable data:error TS18047: 'data2.value' is possibly 'null'
Original useFetch
has no such issue.
Tried to deploy on cloudfalre and got the above error:
They recommend to bring the size of function to under 1mb
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.