https://github.com/buxuku/antd-form-with-hot-loader
https://github.com/buxuku/antd-form-with-hot-loader
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/buxuku/antd-form-with-hot-loader
- Owner: buxuku
- Created: 2017-10-25T09:13:47.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-10-25T09:53:02.000Z (almost 8 years ago)
- Last Synced: 2025-02-12T10:23:18.828Z (8 months ago)
- Language: JavaScript
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# start script
```
npm start
```then open [http://localhost:8080](http://localhost:8080)
# How to reproduce this problem
In the Test component, If I export it with :
```
export default Test;
```
It works fineBut if I export it with :
```
export default WrappedTest;
```It will throw an error like:
```
React Hot Loader: this component is not accepted by Hot Loader. \n' + 'Please check is it extracted as a top level class, a function or a variable. \n' + 'Click below to reveal the source location: \n', typeSignature
```