Skip to content
This repository was archived by the owner on Sep 27, 2023. It is now read-only.

Commit cf9bcaf

Browse files
authored
Merge pull request #68 from kalekseev/patch-1
Add README section about react-hot-loader problem
2 parents b87f911 + fa476ff commit cf9bcaf

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,16 @@ react_relay_1.createFragmentContainer(MyComponent, react_relay_1.graphql `
6565

6666
Note that this does mean you need to configure Babel to transform the ES module `import` and `export` statements, by using the [`babel-plugin-transform-es2015-modules-commonjs`](https://babeljs.io/docs/plugins/transform-es2015-modules-commonjs/) transform plugin, if you’re not already.
6767

68+
## Problems
69+
70+
### React Hot Loader
71+
72+
React Hot Loader is known to not always work well with generated code such as our typing artefacts, which will lead to loading modules _with_ TypeScript types into the browser and break. As a maintainer of RHL [pointed out](https://github.com/gaearon/react-hot-loader/issues/1032) in a similar issue:
73+
74+
> The problem - hot reloading is not "complete"
75+
76+
So [until RHL will be made “complete”](https://github.com/gaearon/react-hot-loader/issues/1024) this project can’t gurantee to always work well with it, nor is it our control to do anything about that.
77+
6878
## Examples
6979

7080
You can find a copy of the Relay

0 commit comments

Comments
 (0)