-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cleanup and refactor #77
Comments
- partial workaround for rodrigo-brito#77 - add `make build-with-assets` workaround - put handle/assets/, /node_modules, and /build in .gitignore for now
- closes rodrigo-brito#76 - adds package.lock for versioning of npm modules, yarn version in package.json - generates more complex (chunked js) structure for assets - assumes build is via `make build-with-assets` in master branch, or equivalent - Makefile in stevegt's fork at commit 3a47b3d - see rodrigo-brito#77 for discussion
A good cleanup: remove React. To transpile JS code, we can use ESBuild (https://esbuild.github.io/api/), which works with native Go code and works fine with embed files. |
Any progress on this? Would be great to have a monorepo with backend/frontend… |
While working on #66 and #76 I'm finding that working on this project is pretty unwieldy due to half of the code being in a different branch -- it really needs to be refactored into one branch. As things stand right now, it's certainly chasing off contributors -- taking a look at the forks makes me think there are a bunch of folks who have done a lot of work but who haven't been able to merge what they've done back into the master repo -- there are some duplicate efforts going on out there as well. I'm finding that the split-branch situation turns what should be a fun set of enhancements into a real chore.
I'm adding a stanza to the Makefile in my own fork to manage the two branches, copying assets over as mentioned in the comments in #66, but it's a horrible kludge.
@rodrigo-brito, you mention in #66 that the split branches was due to getting github to recognize the project as Go rather than javascript, but I'm not following that reasoning -- why do we care what language github shows for the project? Mixed-language projects are common -- any large project is going to be mixed-language. There must be something I'm missing.
Other refactoring that would help:
I'd be happy to submit PRs to clean up any of this, but the split-branch situation makes that extra hard and is likely a prereq.
The text was updated successfully, but these errors were encountered: