I'm getting the following error when navigating to the /admin route: TypeError: Class extends value # is not a constructor or null Anyone else having similar issues?
Yes, Since you can fetch directly at component level you don't need getStaticProps(). But you can use "cache" and other things like "revalidate" directly with fetch api. So It's all good. But I don't know how you can cache and revalidate if you are not using fetch. I'm trying to figure that out myself EDIT: Nevermind, I read the docs and found a solution to cache without fetch api.
Ive tried Sanity with my team and this was very efficient to give a already-done-dashboard
Going over the Sanity first blog write-up and loving it! - thanks Kap!!
Very interesting:)
There's no official docs with this??, Like the sanity toolkit for next js github instructions is kinda weird
very interesting and professionally relayed, Kapehe. Thanks!
Hey is this tutorial for next 13?
I'm getting the following error when navigating to the /admin route:
TypeError: Class extends value # is not a constructor or null
Anyone else having similar issues?
And instance where going through the code would help
Next js is awesome ❤️👌
I hear getStaticProps() will no longer be the server fetching function in Next v13.
Is this true?
Yes, Since you can fetch directly at component level you don't need getStaticProps(). But you can use "cache" and other things like "revalidate" directly with fetch api. So It's all good. But I don't know how you can cache and revalidate if you are not using fetch. I'm trying to figure that out myself
EDIT: Nevermind, I read the docs and found a solution to cache without fetch api.
@@m0rt068 How?
@@jeremytenjo how? how to revalidate pages without fetch api?
You can find everything in nextjs beta docs. But If you need my help, ask me
With all the good you do, a link to the source code would be really useful, but....
VERCEL is the BEST !!!!!!!!!!!!!!!!!!!!!