python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Solution to prefetch in a component on nextjs
I'm looking for a solution/module where I don't need to inject inital/fallback data for swr/react-query things from getServerSideProps. Like...
from
// fetcher.ts
export default fetcher = async (url: ...
Changdae Park
Votes: 0
Answers: 0
NextJS cors has wrong 'Access-Control-Allow-Origin' value
I noticed an issue after deploying to Netlify, chrome was blocking my ajax requests to a public Apple api, but it was working for the friends I sent a link to.
Now it's broken in the opposite directio...

Ashbury
Votes: 0
Answers: 2
Using SWR Bound Mutation Across Nextjs Pages with useSWRInfinite
Need help on using mutation with useSWRInfinite
EXPECTED
On my posts page, I used useSWRInfinite to do load posts with pagination. it provides me a bounded mutation which I can use on that page
The us...

Hendry Lim
Votes: 0
Answers: 0
How to run GraphQL mutation query using useSWR hook?
I have a MongoDB database hosted in MongoDB Atlas, I am using MongoDB Atlas RealM as well to create GraphQL schemas.
I am consuming the GraphQL API in react js application created using Next JS.
I am ...

Vishal Shetty
Votes: 0
Answers: 1