You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -17,20 +17,20 @@ Split code into bundles so that code is asynchronously loaded by the client.
17
17
18
18
The Basic setup goes like this...
19
19
20
-
An express server handles a request, renders the that page on the server and sends
20
+
An express server handles a request, renders the page on the server, then sends
21
21
it back to the client. The code is bundled into chunks on build time which are requested
22
22
by the client when needed for that route.
23
23
24
-
When in development mode the express server handles a request and uses the `webpack.config.development.js`
25
-
configuration as middleware to listen for file changes, build then and push them to the client.
24
+
When in development mode, the express server handles a request and uses the `webpack.config.development.js`
25
+
configuration as middleware to listen for file changes, build, then and push them to the client.
26
26
27
27
---
28
28
29
-
This project is and updated version of [this project](https://github.com/Alex-ray/universal-hmr-ssr-react-redux). With the biggest updates being migrations to **React Router 4** and **Hot Module Reloading 3**
29
+
This project is an updated version of [this project](https://github.com/Alex-ray/universal-hmr-ssr-react-redux). With the biggest updates being migrations to **React Router 4** and **Hot Module Reloading 3**
30
30
31
31
The main goal of this project remains the same; A simple and no BS approach to a
32
32
Universal JS, Server Side Rendering, Code Splitting and Hot Module Reloading using
33
-
the following technologies.
33
+
the following technologies:
34
34
35
35
- React
36
36
- Redux
@@ -44,18 +44,18 @@ the following technologies.
44
44
- immutablejs
45
45
46
46
## 🛠 Setup
47
-
First install the dependencies, in the root directory of this project run.
47
+
First install the dependencies in the root directory of this project run.
48
48
`npm install`
49
49
50
50
## 🤖 Running
51
51
For **Development** run `npm run development`
52
52
53
53
This will start a development server on `localhost:8080` that utilizes hot module
54
-
reloading for both React components and redux reducers.
54
+
reloading for both React components and Redux reducers.
55
55
56
56
For **Production** run `npm run build && npm run production`.
57
57
58
-
This will build all your assets and write them to a `/build`file in the root directory of this project. The script will then start up a express server on `localhost:8080` that will utilize server side rendering and route based code splitting.
58
+
This will build all your assets and write them to a `/build`folder in the root directory of this project. The script will then start an express server on `localhost:8080` that will utilize server side rendering and route based code splitting.
0 commit comments