Skip to content

Commit b515b46

Browse files
committed
Update README.md
1 parent 52fa3d7 commit b515b46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Boilerplate set up for hot reloading modules you can fork and use with 3 simple
5050

5151
## Why
5252

53-
We're javascript programmers. We should not need to bundle our apps for development. Many folks dislike JSPM because of how slow it is. JSPM deserves another shot, because it can be faster, more robust and more reliable than most alternatives. This simple package proves it. Especially for larger codebases, SPAs and such-reliable hot reloadable modules are a necessray for meaningful feedback loop. React-transform is hacky-very often a change in a source code doesn't manifestate after a reload. Read this article [Dan Abramov admitted himself](https://medium.com/@dan_abramov/hot-reloading-in-react-1140438583bf#.6gk8gzb72) for more info on React-transform vs reloading whole modules.
53+
We're javascript programmers. We should not need to bundle our apps for development. Many folks dislike JSPM because of how slow it is. JSPM deserves another shot, because it can be faster, more robust and more reliable than most alternatives. This simple package proves it. Especially for larger codebases, SPAs and such-reliable hot reloadable modules are a necessray for meaningful feedback loop. React-transform is hacky-very often a change in a source code doesn't manifestate after a reload. Read [this article](https://medium.com/@dan_abramov/hot-reloading-in-react-1140438583bf#.6gk8gzb72) for more info on React-transform vs reloading whole modules.
5454

5555
## Preserving state
5656
If you want some state to persist through hot reload, just put it in a module separate from the component. I personally use [POJOs with observation](https://github.com/mweststrate/mobservable), but you are free to use any kind of value store, as long as it sits in separate module from your reloaded component.

0 commit comments

Comments
 (0)