From the course: React: Software Architecture

Unlock the full course today

Join today to access over 24,300 courses taught by industry experts.

Server-side rendering caveats

Server-side rendering caveats

- [Instructor] All right, so at this point, we have a pretty fully functional server-side app. Now obviously our app is not that complex. It's only got three different pages and none of those pages displays much data besides a title, but the basic concepts that we've covered here apply in server-side rendered apps of all different sizes. Now later on in the course, we're going to take a look at how data loading is incorporated with server-side rendering which is obviously a very important topic as well. But before we move on from the basics, I want to point out a few caveats that have to do with server-side rendering. Probably the biggest thing to keep in mind when you're working on the front-end of a server-side rendered application is that a lot of the time the code that you write is not going to actually be executing in the browser. So here's what that means. Let's say that inside your app component, you wanted to access…

Contents