f2bdb79782
Summary: public Before this diff we were only accepting the module that was modified but the user. This works fine as long as the user doesn't modify the dependencies a module has but once he starts doing so the HMR runtime may fail when updating modules' code because they might might a few dependencies. For instance, if the user changes the `src` a `Image` has to reference an image (using the new asset system) that wasn't on the original bundle the user will get a red box. This diff addresses this by diffing the modules the app currently has with the new ones it should have and including all of them on the HMR update. Note this diffing is only done when the we realize the module that was modified changed it's dependencies so there's no additional overhead on this change. Reviewed By: vjeux Differential Revision: D2796325 fb-gh-sync-id: cac95f2e995310634c221bbbb09d9f3e7bc03e8d |
||
---|---|---|
.. | ||
__mocks__ | ||
src | ||
.babelrc | ||
.npmignore | ||
index.js |