Skip to content
This repository has been archived by the owner on Oct 29, 2021. It is now read-only.

Update Hot-reloading #99

Open
xeoncross opened this issue Nov 15, 2018 · 5 comments
Open

Update Hot-reloading #99

xeoncross opened this issue Nov 15, 2018 · 5 comments

Comments

@xeoncross
Copy link

xeoncross commented Nov 15, 2018

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.

@olebedev
Copy link
Owner

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.

@xeoncross
Copy link
Author

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?

@olebedev
Copy link
Owner

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.

@talentlessguy
Copy link

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

@xeoncross
Copy link
Author

@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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants