Hans Raaf
Hans Raaf
Never mind: https://github.com/golangee/wasm-net is not what I meant. This also includes `net/http`. I found something else but can not dig up the link right now. Basically, it works by calling...
It is about "net/http" in the frontend part and you can not just use gRPC to access an HTTP API. I am not talking only about the client/server communication of...
And btw. gRPC uses HTTP/2. I would rather use something like https://github.com/twitchtv/twirp
You can not use gRPC for an HTTP API. We need to access a lot of different APIs and not all of them are made by us. The key to...
> It was stated previously that the net/http package adds 7 MB. And I say you can probably use the browsers XMLHttpRequest() for this and don't need `net/http` in the...
@mar1n3r0 you simply build two times. One for the WASM not containing the server and one for the server itself (which simply uses net/http).
main.go ```go func main() { // Frontend routing app.RouteWithRegexp("/.*", &appControl{}) // this concludes the part which goes into the front-end app.RunWhenOnBrowser() // this will depend on the target (wasm or...
Excuse my ignorance but I don't know of any "import" function in vanilla javascript. I guess you would need to write your own script loader similar to the answers here:...
Very good indeed! I made a quick replacement for the usage of `text/template` (see: #680) Compilation now fails with a missing function in `os`. I did not follow up changing...
@dkegel-fastly os.Setenv is just a minor problem. The missing timers is much more serious, see https://github.com/maxence-charriere/go-app/pull/682 The title of this issue is misleading, as it will be always "one package"...