Comments (1)
Hi,
I think the problem you described is expected behavior. All this loader do is to call your view functions with saved model data (before code change). So if you change your model, it still uses old model data to call view functions.
If you remove elm-hot-loader, webpack will reload the whole page, everything got re-initialized, so it works.
Hopefully one day Elm compiler will include perfect hot reload feature so we can ditch this loader because it's just a hack.
from elm-hot-loader.
Related Issues (20)
- Error on 0.3.0 when no ports are present
- Incompatible with [email protected] HOT 2
- Websockets and reloading: one subscription - two open requests upon reload HOT 3
- Object.assign HOT 2
- Peer dependency on elm-webpack-loader -- can it be removed? HOT 7
- Initial command obliterates previous state HOT 4
- Document how to use the plugin with a compiled-to-js Elm app HOT 3
- 0.18 support HOT 1
- Only works with programWithFlags ? HOT 1
- I see a weird error when not using Html.Events HOT 2
- Changes not detected when elm-webpack "cache" option is enabled HOT 3
- Update elm-hot-loader to use latest elm-webpack-loader HOT 7
- doesn't work on webpack-dev-server 2 HOT 3
- Feature: Flag to hot reload only after successful compile HOT 1
- Not triggering reload when I save any module other than Main HOT 6
- Recursion?
- add flag for disabling console message logging
- Compiler errors in the browser HOT 1
- Hotloading fails to retain state after compile error
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 elm-hot-loader.