React Query with Next.js Static Site Generation (SSG) - React Tutorial 90

preview_player
Показать описание


~~~~~~~~~~~~~~~ CONNECT ~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~ SUPPORT ME ~~~~~~~~~~~~~~

🅑 Bitcoin - 3HnF1SWTzo1dCU7RwFLhgk7SYiVfV37Pbq
🅔 Eth - 0x350139af84b60d075a3a0379716040b63f6D3853
Рекомендации по теме
Комментарии
Автор

I needed this, right now. Thanks for your work brother.

marcuslorenzo
Автор

Hey Caleb! Thanks for teaching this! Just a comment but I think it'd be helpful if the project would have a commit for each episode of the series. I wasn't that interested in the rest, and only interested in this episode, to catch up to what you have here, was a bit difficult. Cheers!

showduhtung
Автор

So using Next JS for the first time and I am about 80% finished with the project. I wanted the site to be 100% static but to fetch data from a Directus back end. Then I learned that you cannot getStaticProps in a non page component or the _app.js file. This means my nav(s) logo(s) and business information has to either be hard coded or I will need to pass them to each page individual (and make separate calls to the api for the data) or I will need to client side render the data (because I cannot simply include them in a layout). Needless to say this is a major disappointment. I was kinda hoping that someone out there knows of a different way.

marklong
visit shbcf.ru