go-starter-kit icon indicating copy to clipboard operation
go-starter-kit copied to clipboard

Update Hot-reloading

Open xeoncross opened this issue 7 years ago • 5 comments
trafficstars

According to the readme, hot reloading is performed via react-transform & webpack 1 HMR. However, both projects are depreciated.

https://github.com/gaearon/react-hot-loader is the replacement.

In fact, much/all of the webpack stuff could be replaced with Parcel removing a lot of configuration complexity.

xeoncross avatar Nov 15 '18 19:11 xeoncross

Sounds good to me 😀

I am not that I will be able to spend even an hour for this in nearest 3 months. So, if you could do this, please do via PR.

olebedev avatar Nov 16 '18 03:11 olebedev

How much are you comfortable changing? If I fork the project and move from glide to go modules (1.10+), remove webpack for parcel, replace echo with gin (or raw httprouter), and build a basic login demo using material-ui and goth or authboss - would you still want to merge it?

xeoncross avatar Nov 16 '18 13:11 xeoncross

Everything sounds good except changing echo to gin(i have changed gin to echo at one of precious iterations). The rest is perfectly fine. Please do it.

olebedev avatar Nov 16 '18 14:11 olebedev

@Xeoncross so, how's the progress on the PR?

talentlessguy avatar Nov 27 '19 19:11 talentlessguy

@talentlessguy I don't think I ever started actually. An alternative to is simply using chromedp to pre-render the react app: https://gist.github.com/Xeoncross/61e177b207875952288bfe37912a0d51

xeoncross avatar Nov 27 '19 21:11 xeoncross