These are chat archives for SmartFocus/reactjs

29th
Apr 2015
Aaron Goshine
@aaron-goshine
Apr 29 2015 09:32
@bebraw nice I will give the a read.. the question is can do hot swapping without webpack server ...
Juho Vepsäläinen
@bebraw
Apr 29 2015 09:38
@aaron-goshine maybe https://github.com/gaearon/react-hotify would fit your purposes
Aaron Goshine
@aaron-goshine
Apr 29 2015 09:39
@bebraw cant i do that on any standard http server ?
Juho Vepsäläinen
@bebraw
Apr 29 2015 09:40
@aaron-goshine no idea. you can try to open an issue at that repo
why do you need something like that?
Aaron Goshine
@aaron-goshine
Apr 29 2015 09:42
@bebraw if it is possible to lazy load my react application that would be a nice optimisation
Juho Vepsäläinen
@bebraw
Apr 29 2015 09:43
well, you can get lazy loading per view with react/webpack already. i'm not sure how hot loading would help in that
these days hot loading is used only for dev purposes
Aaron Goshine
@aaron-goshine
Apr 29 2015 09:48
@bebraw can you send me link to a proper implenmentation of react/webpack lazy loading , without node server
the trick is in using require.ensure
Aaron Goshine
@aaron-goshine
Apr 29 2015 09:59
@bebraw does your book touch on that in more details?
Juho Vepsäläinen
@bebraw
Apr 29 2015 10:09
@aaron-goshine not yet, it's more of a tutorial oriented book. you can find specific info like this at https://github.com/christianalfoni/react-webpack-cookbook
Aaron Goshine
@aaron-goshine
Apr 29 2015 10:15
great that look nice, these is comming really close to what I am looking for … I will go through these docs and let you know …