dp
  • My projects
  • All about me
  • Get in touch

Category: NextJS.

EducationGitHTML and CSSJavascriptMac OS, Windows and LinuxNextJSProgrammingQuick TipsReadingSQLSanitySoftwareWordpress
When to use getStaticProps, getServerSideProps and getStaticPaths in NextJS

When to use getStaticProps, getServerSideProps and getStaticPaths in NextJS

20th May 2024

When you get started with NextJS, especially when it comes to loading items from data or somewhere else, you'll start to come across functions like getStaticProps, getServerProps and then sometimes getStaticPaths. It'll probably not be that massivel...View Article

Leave your thoughts
No syntax highlighting with React error #425 and server side rendering fix

No syntax highlighting with React error #425 and server side rendering fix

8th April 2024

I recently noticed that the Syntax Highlighting when using `react-syntax-highlighter` was failing in production build. This was odd since everything seemed to work perfectly in development. After some investigations, I noticed the following error...View Article

Leave your thoughts
1
  • Get in touch
  • View my CV
  • Latest blog article
This website was made with NextJS, Sanity.io, Typescript and React.
2025 Copyright deanpugh.com.