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
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
# React / TypeScript / JSPM starter-kit
2
-
Modern, clean & future-proof JavaScript Project boilerplate to build modular web apps utilizing power of ES2016, async/await, ES Modules with React & TypeScript powered by JSPM/SystemJS.
2
+
> Modern, clean & future-proof JavaScript Project boilerplate to build modular web apps utilizing power of ES2016, async/await, ES Modules with React & TypeScript powered by JSPM/SystemJS.
3
3
4
4
## Features
5
5
- clean with bare minimum dep to make React & TypeScript & dev server with hot-reload running - the rest is up to you
@@ -24,10 +24,10 @@ Modern, clean & future-proof JavaScript Project boilerplate to build modular web
24
24
Important point to keep in mind when running dev server with JSPM is to create a static bundle of external dependencies. As they only change when updated through NPM, it is best to bundle them all together and load as one package instead of separately making hundreds of requests slowing down page reload.
25
25
That way your only your modules from src are still loaded separately making possible to hot-reload them instantly without rebundling, and do full-page reload if necessary very quickly. This is the best of two development approaches (hot-reload vs. bundling) mixed together.
26
26
27
-
Test:
28
-
1. run `npm run unbundle` -> open network tab, reload page and check output
29
-
2. run `npm run bundle-dev` -> open network tab, reload page and check output
30
-
3.compare results
27
+
My test procedure:
28
+
29
+
1. run `npm run unbundle` -> open network tab in chrome dev tools -> reload the page -> check logged results
30
+
2. run `npm run bundle-dev` -> open network tab in chrome dev tools -> reload page -> compare logged results with previous
31
31
32
32
---
33
33
@@ -51,7 +51,7 @@ Test:
51
51
1.`npm run bundle-dev` - _**OPTIONAL:** run only when your dependencies has changed_
52
52
2.`npm start`
53
53
54
-
#### Build for Production Workflow
54
+
#### Build for Production Workflow (WIP -> in next release)
55
55
1.`npm run build`
56
56
2.`npm run build-deps` - _**OPTIONAL:** run only when your dependencies has changed_
0 commit comments