Comments (4)
Comment from your config: "...Note that only changes to CSS are currently hot reloaded. JS changes will refresh the browser...".
But React Hot Loader provides the ability to reload hotly JS changes.
As a result of a "create-react-native-web-app" we have a project without WebPackConfig, is it right? So can we add this config or we should choose another recipe of connecting "React Hot Loader"?
May be React Dom from Hot library? It seems that connecting it is very easy process.
UPDATE:
I've just found webpack configs in /configs folder. So I will try to connect React Hot Loader with it.
from create-react-native-web-app.
It works for me: https://github.com/gaearon/react-hot-loader#migrating-from-create-react-app
Without npm run eject
from create-react-native-web-app.
Hi @iksent
I checked the webpack dev server and it seems the create-react-app team already placed the hot
option to true. I am not sure myself how to fix this.
https://github.com/VISI-ONE/create-react-native-web-app/blob/master/template/config/webpackDevServer.config.js#L61
any ideas?
from create-react-native-web-app.
@iksent thanks for the help.. Added and released in v0.1.11 🎉
from create-react-native-web-app.
Related Issues (20)
- require() Image doesn't work but import does HOT 8
- How to alias a package for Web? HOT 2
- recommendations? HOT 1
- React Native is Outdated and vulnerable to ReDoS HOT 1
- Error: Command failed: npx react-native init Test --template react-native-template-react-native-web HOT 4
- iOS directory is not getting created HOT 7
- Babel config JSX not working HOT 2
- Deprecated dependencies (developer menu doesn't open) HOT 7
- Generated Podfile done borked: undefined method `codegen_pre_install' for #<Pod::Podfile:0x0000> HOT 4
- npm run android fails: Error: spawn ./gradlew EACCES HOT 1
- Running `npx crnwa myApp` doesnt work. HOT 2
- How could I add typescript support ? HOT 5
- Error when creating app using create-react-native-web-app HOT 4
- Fetch and axios module not working in android HOT 2
- module-resolver HOT 1
- Error: https://registry.yarnpkg.com/react-native-template-react-native-template-react-native-web: Not found HOT 2
- No support export type? HOT 1
- web command not found HOT 6
- Add web support to an existence react native project HOT 1
- Web command missing HOT 2
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 create-react-native-web-app.