4 ms·
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 comp
by jerrygoyal 5y ago
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-query/ 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_asynchronously_render_a_component_only/ https://www.reddit.com/r/nextjs/comments/mmqoqm/how_to_async...
related discussion https://github.com/vercel/next.js/discussions/13390 https://github.com/vercel/next.js/discussions/13390
- leerob 5y agogetStaticProps for individual components will be solved with React Server Components! http://vercel.link/rsc http://vercel.link/rsc