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
-*ReactJS is written with `optimization tricks` (stateless, pure render, PureComponent...).*
11
-
-*`pure front-end` = server independant (use whatever you want as server: NodeJS, Rails, .NET...)*
9
+
-_webpack is as simple as possible_
10
+
-_ReactJS is written with `optimization tricks` (stateless, pure render, PureComponent...)._
11
+
-_`pure front-end` = server independant (use whatever you want as server: NodeJS, Rails, .NET...)_
12
12
-`SPA` but `SEO` and/or `PWA` friendly since use of `dynamic imports` and `application snapshot`.
13
13
14
-
*Concept behind:* same as [react-bootstrap-webpack-starter](https://github.com/MacKentoch/react-bootstrap-webpack-starter)**but added `Redux` and amazing and helpful [redux-devtools-extension](https://github.com/zalmoxisus/redux-devtools-extension#redux-devtools-extension).**
14
+
_Concept behind:_ same as [react-bootstrap-webpack-starter](https://github.com/MacKentoch/react-bootstrap-webpack-starter)**but added `Redux` and amazing and helpful [redux-devtools-extension](https://github.com/zalmoxisus/redux-devtools-extension#redux-devtools-extension).**
- loadable-components - work with reactsnap for better static website performance - (*stuck to pre v2.2.3+ breakings changes, waiting for a new solution see [PR](https://github.com/stereobooster/react-snap/pull/338/commits/adf107b4bff212a854a93e2d90f89d369433a807)*)
32
+
- loadable-components - work with reactsnap for better static website performance - (_stuck to pre v2.2.3+ breakings changes, waiting for a new solution see [PR](https://github.com/stereobooster/react-snap/pull/338/commits/adf107b4bff212a854a93e2d90f89d369433a807)_)
@@ -49,6 +51,7 @@ React 16.8+ React-Router 4 + Redux + Bootstrap + Webpack 4 with Hot Reload and r
49
51
- svg and fonts formats
50
52
51
53
**tests:**
54
+
52
55
- Jest
53
56
- enzyme
54
57
@@ -61,44 +64,49 @@ React 16.8+ React-Router 4 + Redux + Bootstrap + Webpack 4 with Hot Reload and r
61
64
### Install
62
65
63
66
```bash
64
-
yarn install
67
+
# from root directory:
68
+
cd front && yarn install
65
69
```
66
-
### bundle dev mode (*+ redux-devtools*)
70
+
71
+
### bundle dev mode (_+ redux-devtools_)
67
72
68
73
```bash
69
-
yarn run dev
74
+
# from root directory:
75
+
cd front && yarn run dev
70
76
```
71
77
72
-
### dev : hot reload mode (*+ redux-devtools*)
78
+
### dev : hot reload mode (_+ redux-devtools_)
73
79
74
80
```bash
75
-
yarn run start
81
+
# from root directory:
82
+
cd front && yarn run start
76
83
```
77
84
78
85
### tests
79
86
80
87
```bash
81
-
yarn run test
88
+
# from root directory:
89
+
cd front && yarn run test
82
90
```
83
91
84
92
### bundle production mode
85
93
86
94
```bash
87
-
yarn run prod
95
+
# from root directory:
96
+
cd front && yarn run prod
88
97
```
89
98
90
-
### mini node-express server (for dev or prod bundles)
99
+
### mini node-express server
91
100
92
-
with server hot reload:
101
+
⚠️Ensure having bundled the application before (result is in `_ROOT_DIR_/docs` directory), then:
93
102
94
103
```bash
95
-
yarn run serve-dev
96
-
```
97
-
98
-
without hot reload:
104
+
# from root directory:
99
105
100
-
```bash
101
-
yarn run serve-prod
106
+
# install dependencies the first time only:
107
+
cd server && yarn install
108
+
# run the server:
109
+
yarn run run-server # this will serve ROOT/docs content!
102
110
```
103
111
104
112
## Donate
@@ -120,5 +128,4 @@ The above copyright notice and this permission notice shall be included in all c
120
128
121
129
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
0 commit comments