News for hackers. Stuff that matters.
Re:Next.js 10.2 by jerrygoyal on Wednesday April 28, 2021 @03:40PM (#26973239)
Hey Lee, been following your work for a while.

Could you please add your vote for "getStaticProps" for individual components also. That way I can use this component in multiple pages for example to statically rendering a tweet etc. (maybe useful for your blog too :) )

I think equivalent of this feature in gatsby is staticQuery https://www.gatsbyjs.com/docs/how-to/querying-data/static-qu...

Same question I asked in r/nextjs https://www.reddit.com/r/nextjs/comments/mmqoqm/how_to_async...

related discussion https://github.com/vercel/next.js/discussions/13390

Re:Next.js 10.2 by leerob on Wednesday April 28, 2021 @07:04PM (#26975361)
getStaticProps for individual components will be solved with React Server Components! http://vercel.link/rsc