Update the example to use go-app v9 in place of v6 #4
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
*issues are now fixed, thanks to the kind folks at maxence-charriere/go-app#853
v9 is very different from v6, apparently.
The following changes were necessary:
rules_go
.gazeller
, and protobufs.bazel run //:buildifier
to fix the build files.seems to not like when the two are separated.
/web/...
. This is a requirement inv9, you can not serve these resources from a different subdirectory.
protoc
string inapi.proto
,which caused
gazelle
andgo mod tidy
to get confused../third_party/update_go_mods
. Most deps got updated to newerversions.
bazel run //:gazelle
exported, because it now makes a difference for computing the UI
updates.
outside of
OnMount
orapp.RouteFunc
actually does not get usedin building widgets. Leads to bizarre nil pointer accesses. I added
comments that explain where the caveats are.