Giter VIP home page Giter VIP logo

Comments (4)

iksent avatar iksent commented on June 4, 2024 1

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.

iksent avatar iksent commented on June 4, 2024 1

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.

orYoffe avatar orYoffe commented on June 4, 2024

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.

orYoffe avatar orYoffe commented on June 4, 2024

@iksent thanks for the help.. Added and released in v0.1.11 🎉

from create-react-native-web-app.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.