Comments (3)
I don't really see anything here that would cause the error. I'd need a minimal reproduction via CodeSandbox or something in order to help debug.
from swrv.
Link to codesandbox. Thanks
from swrv.
For starters, you don't have your plugins/vue-composition-api.js
file registered as a plugin in the nuxt.config.js
file; however, I still see the same error regardless.
If I had to guess, it's something to do with the versions that are being resolved in your project. If you look at swrv/examples/ssr-nuxt/
on this commit (0.9.6
release), everything is working as expected, so I'm guessing there's something going on with the specific dependency versions in your sandbox, or something else in the setup.
from swrv.
Related Issues (20)
- Hey, is this library still maintained? Is there, maybe, a roadmap? HOT 1
- Stop revalidation on router change HOT 6
- dedupe subsequent requests with same key if this request is pending?
- Possible `key` type mismatch HOT 11
- Possibly unnecessary check HOT 1
- Is swrv changed setTimeout in somewhere to make `await setTimeout` work๏ผ HOT 2
- TypeError when using in an app with moduleResolution nodenext
- [Feature request] Allow use of useSWRV outside of setup() HOT 20
- Precedence of fetching conditions
- Race condition causes old "useSWRV" to set the isValidating of the new request (/ key). HOT 4
- forceRevalidate should have option or default to override debounce HOT 2
- Exceed the quota exception HOT 4
- How can I set options after useSWRV is initialized HOT 1
- How to use swrv with the array function? HOT 1
- Disable swrv for certain endpoints HOT 5
- Middleware feature request HOT 1
- how to read the data asynchronously HOT 6
- isLoading field HOT 4
- How to revalidate on fetcher change (like on key change) HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swrv.