2020-08-12
3339
#nextjs
Francis Udeji
22333
Aug 12, 2020 ⋅ 11 min read

Data fetching with Next.js and Strapi CMS

Francis Udeji Full-stack web developer. Technical writer. Lover of beautiful UIs and music.

Recent posts:

How to use CSS line-clamp to trim lines of text

Master the CSS line-clamp property. Learn how to truncate text lines, ensure cross-browser compatibility, and avoid hidden UX pitfalls when designing modern web layouts.

Daniel Schwarz
Oct 30, 2025 ⋅ 3 min read
7 react Hooks you need to know

7 custom React Hooks every developer should be using

Discover seven custom React Hooks that will simplify your web development process and make you a faster, better, more efficient developer.

Murat Yüksel
Oct 30, 2025 ⋅ 8 min read
Understanding Promise.all in JavaScript

Is Promise.all still relevant in 2025?

In 2025, async JavaScript looks very different. With tools like Promise.any, Promise.allSettled, and Array.fromAsync, many developers wonder if Promise.all is still worth it. The short answer is yes — but only if you know when and why to use it.

Leonardo Maldonado
Oct 29, 2025 ⋅ 7 min read
the replay october 29

The Replay (10/29/25): Tiny AI agents, Next.js 16, and more

Discover what’s new in The Replay, LogRocket’s newsletter for dev and engineering leaders, in the October 29th issue.

Matt MacCormack
Oct 29, 2025 ⋅ 34 sec read
View all posts

6 Replies to "Data fetching with Next.js and Strapi CMS"

  1. Great tutorial. Can you continue with setup sign up, sign in, and login (authentication) and separate user’s authorization using next js and strapi, please.

  2. Thank you Alfie. I like your suggestion and I may look into it in the future. For now, I have a WIP article where I talk about authentication with Next.js(no Strapi though). Stay tuned.

  3. The best tutorial i read so far that include strapi in it, we need more tutorials like this , don’t make me stalk you lol.

  4. Great tutorial! QUESTION: What content type should I use in order to display JSX code within my content – I actually want users to see some raw (but formatted) JSX code without that code being rendered by my browser, and so far I haven’t been able to find a way display JSX code in my rendered JSX code…. Any ideas? Thanks again and great content! Rich

    1. Thank you Rich, AFAIK, there’s no native support for code input/formatting. But I suspect you can use the normal text field for long text and display it on the frontend with some formatting and syntax highlighting

Leave a Reply

Hey there, want to help make our blog better?

Join LogRocket’s Content Advisory Board. You’ll help inform the type of content we create and get access to exclusive meetups, social accreditation, and swag.

Sign up now