Skip to content

Commit

Permalink
- update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
rocketlaunchr-cto authored Dec 18, 2019
1 parent 6ce52de commit 98dfa15
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,14 @@ The examples can be [found here](https://github.com/rocketlaunchr/react/tree/mas
- Apply [gzip compression](https://en.wikipedia.org/wiki/HTTP_compression)
- Use int instead of (u)int8/16/32/64
- Use float64 instead of float32
- Avoid importing `fmt` at all costs (including indirectly).
- Avoid importing `fmt` at all costs (including indirectly). Use [fmtless](https://github.com/rocketlaunchr/react/forks/fmtless) instead.
- Avoid importing `net/http` for http requests (including indirectly). Use [gopherjs-xhr](https://github.com/rocketlaunchr/gopherjs-xhr) instead.
- Avoid importing `honnef.co/go/js/dom` if possible.
- Use **react.JSFn()** and use native javascript functions as much as possible.
- https://github.com/gopherjs/gopherjs/wiki/JavaScript-Tips-and-Gotchas
- See if [jsgo](https://github.com/dave/jsgo) is appropriate for your web-based project.
- To reduce file size, copy only what's required from `elements` subpackage.
- For json unmarshaling, try [slim-decoder](https://github.com/gopherjs/gopherjs/wiki/Using-native-JSON-parsing-to-realize-a-slim-JSON-decoder) or use [json](https://github.com/rocketlaunchr/react/forks/encoding/json)

## Future Work

Expand Down

0 comments on commit 98dfa15

Please sign in to comment.