File tree Expand file tree Collapse file tree 2 files changed +31
-2
lines changed
src/universal/components/Home Expand file tree Collapse file tree 2 files changed +31
-2
lines changed Original file line number Diff line number Diff line change 1+ # ⚡ Universal JS, HMR and SSR ⚡
2+
3+ ### What is it?
4+
5+ * Universal JS: -*
6+ JavaScript that can run on both the server and client (or any other JS platform for that matter) !
7+
8+ * Hot Module Reloading: -*
9+ Replaces modules that have been changed in real time while preserving the state.
10+
11+ * Server Side Rendering: -*
12+ Renders Pages on the initial for fast page loads and search engine optimization
13+
14+ ### Why?
15+
16+ Incredibly Productive
17+ Extremely Flexible
18+ Blazing Fast
19+ ... And its just plain cool 😎
20+
21+ ### How?
22+
23+ The Basic setup goes like this...
24+
25+ An express server to handle requests, render the page and handle all our file requests.
26+
27+ Webpack to bundle everything up listen for files changes and hot reload them to the client.
28+
29+ We will be using React, Redux and React Router to match url requests, and render the state to html that we can then send back to the client.
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ class Home extends Component {
2424
2525 < li >
2626 < b > Server Side Rendering: -</ b > < br />
27- < p > Renders Pages on the inital for fast page loads and search engine optomization </ p >
27+ < p > Renders Pages on the initial for fast page loads and search engine optimization </ p >
2828 </ li >
2929 </ ul >
3030 </ div >
@@ -34,7 +34,7 @@ class Home extends Component {
3434 < h2 > Why?</ h2 >
3535 < ul >
3636 < li > Incredibly Productive</ li >
37- < li > Extremly Flexible</ li >
37+ < li > Extremely Flexible</ li >
3838 < li > Blazing Fast</ li >
3939 < li > ... And its just plain cool 😎</ li >
4040 </ ul >
You can’t perform that action at this time.
0 commit comments