mittonface/tina-strapi-blog is an example for how to set up TinaCMS with Strapi. But I don’t understand how it’s possible that the
getServerSideProps method is not being used in this repository. For example, its pages/index.js only uses the
getStaticProps method from Next.js.
It seems to me that this repository uses Next.js as a static site generator. But how is that possible together with Strapi?
In particular, I wonder if I’m right when I state: When an editor changes data in Strapi (through Strapis own web interface), then the static site won’t be re-generated with the new data.
But also besides that, what happens when data is changed through TinaCMS? Is it like this?
- An editor edits data through TinaCMS.
- TinaCMS tells Strapi to update the data.
- TinaCMS calls
next export, that is, it tells Next.js to re-generate the static site of the website with the edited, updated data.