Code Ryan

Next.js Best Practices: Protecting Server Code from Client Access


Listen Later

GitHub: https://github.com/coderyansolomon/server-only

API: https://developer.themoviedb.org/reference/intro/getting-started

 

In this insightful Next.js tutorial, viewers will learn the crucial technique of keeping server-only code out of the client environment. The tutorial delves into the common issue faced in JavaScript modules shared between server and client components, where server-specific elements, such as private API keys, may unintentionally become exposed on the client side. By focusing on a practical example of a data-fetching function, the tutorial demonstrates how seemingly universal functions can inadvertently include server-only code. 

...more
View all episodesView all episodes
Download on the App Store

Code RyanBy Ryan Solomon

  • 5
  • 5
  • 5
  • 5
  • 5

5

1 ratings


More shows like Code Ryan

View all
Freakonomics Radio by Freakonomics Radio + Stitcher

Freakonomics Radio

31,952 Listeners

Syntax - Tasty Web Development Treats by Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

Syntax - Tasty Web Development Treats

987 Listeners

Darknet Diaries by Jack Rhysider

Darknet Diaries

7,811 Listeners

CoRecursive: Coding Stories by Adam Gordon Bell - Software Developer

CoRecursive: Coding Stories

186 Listeners

PodRocket - A web development podcast from LogRocket by LogRocket

PodRocket - A web development podcast from LogRocket

58 Listeners