Open xeoncross opened 5 years ago
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.
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?
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.
@Xeoncross so, how's the progress on the PR?
@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
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.