Comments (4)
Hi, I would like to put a note on what is being done here. Basically there are 2 item that were installed and configured.
- Webpack Hot Module replacement(HMR)
-
This was done by utilising Webpack-dev-server which will change how we build and run the webserver of the app.
-
HMR will automatically update the latest version of all component without refreshing the browser whenever any component is edited and save. However, if only using this, the any latest state will not be maintained whenever there is an update. To maintain the state we will require React Hot Loader.
- React Hot Loader
- This will eventually help to maintain any current states after HMR automatically update during any component changes. For this to work a new entry point is created.
The branch is ready for review and merge to the master #9
from grouptodo.
So as I understand it the hot loader allows preserving React state between updates. But is this for production as well or just during development?
I guess point 1 is just for development. If so, should we continue to use the old build process during production?
from grouptodo.
Yes, basically that is what it is and it is for development only. As for the build process I am not very sure on how react is build during production, let say using heroku for example. anyways, i think it should be fine if the old process is used.
from grouptodo.
Fixed with #9.
from grouptodo.
Related Issues (9)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grouptodo.