Skip to content

Commit d71d782

Browse files
committed
Adds README
1 parent 4b9ba51 commit d71d782

File tree

2 files changed

+31
-2
lines changed

2 files changed

+31
-2
lines changed

README.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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.

src/universal/components/Home/Home.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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>

0 commit comments

Comments
 (0)