-
Notifications
You must be signed in to change notification settings - Fork 298
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
77,081 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# Server Side Rendering | ||
|
||
ReactCasts, episode 12. | ||
|
||
Server Side rendering means rendering your React components on the Server, and sending HTML pages pre-populated - This can lead to a better user experience and Search Engine discoverability. | ||
|
||
On the browser, when the javascript runs, react will realise that the component is already there and take over for front-end interactivity, skipping the initial render. | ||
|
||
|
||
Screencast video: | ||
https://youtu.be/tsEHfL-Ul1Y | ||
|
||
# Outline | ||
|
||
- Server side rendering benefits | ||
|
||
- Build Systems | ||
|
||
- Code organization (browser, server & shared) | ||
|
||
- Webpack configuration | ||
|
||
- browser-specific code | ||
|
||
- Server code (including express) | ||
|
||
|
||
# Build & Run Instructions | ||
|
||
1. To build and run the code in this directory, ensure you have [npm](https://www.npmjs.com) installed | ||
|
||
2. Install | ||
``` | ||
npm install | ||
``` | ||
|
||
3. Start the application | ||
``` | ||
npm run start-dev | ||
``` |
Oops, something went wrong.