module
Version:
v0.0.0-...-30ba07a
Opens a new window with list of versions in this module.
Published: Mar 4, 2019
License: MIT
Opens a new window with license information.
README
¶
WebAssembly demo with React and Go 1.12
A Go-based WebAssembly sample with React app!
Installation
Client
cd client
npm i
npm run dev
The client is available on https://localhost:8080
Server
cd server
npm i
npm run dev
The server is available on https://localhost:3000
Build the WASM
cd server/go
GOOS=js GOARCH=wasm go build -o main.wasm
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Some ideas for pull requests
- Use Create-React-App
- Use TypeScript
- Style the exemple
- Add more scenarii using WebAssembly
- Write a script to install all dependencies with a single command
Resources
Licence
MIT
Directories
¶
server
|
|
|
|
Click to show internal directories.
Click to hide internal directories.