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

Commit 53776a7

Browse files
committed
Add README section about react-hot-loader problem
1 parent 49ab94b commit 53776a7

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
@@ -67,6 +67,16 @@ react_relay_1.createFragmentContainer(MyComponent, react_relay_1.graphql `
6767

6868
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.
6969

70+
## Problems
71+
72+
### React Hot Loader
73+
74+
React Hot Loader not always compile `__generated__` directory so you will get modules with TS types into your browser and that will break your app.
75+
As a mainteiner of RHL pointed at a similar issue https://github.com/gaearon/react-hot-loader/issues/1032:
76+
> The problem - hot reloading is not "complete"
77+
78+
So either RHL will be discontinued or made "complete" https://github.com/gaearon/react-hot-loader/issues/1024 until then this project can't gurantee to work with it.
79+
7080
## Examples
7181

7282
You can find a copy of the Relay

0 commit comments

Comments
 (0)