You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-7Lines changed: 4 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,8 +5,7 @@ Facebook's React is one of the most dominant libraries for front-end development
5
5
6
6
This package is an extremely thin wrapper over the native react.js API. The objective was to make it light-weight, developer-friendly and intuitive. You shouldn’t have to scour the documentation to get going — a few peeks should be adequate. If you know your way around the React API and you know a bit of Go, then you should be able to make prototypes and production-worthy applications in no time.
7
7
8
-
The package is **production ready** but it should be noted that the `elements` sub-package is not stable yet. Once stability is reached, version `1.0.0` will be tagged. The `elements` sub-package is optional but highly convenient.
9
-
It is recommended your package manager locks to a commit id instead of the master branch directly.
8
+
The package is **production ready**. An optional (but highly convenient) `elements` sub-package is also included.
10
9
11
10
See [Tutorial here](https://medium.com/@rocketlaunchr.cloud/go-with-react-de5ee4f01df9).
12
11
@@ -29,7 +28,7 @@ The examples can be [found here](https://github.com/rocketlaunchr/react/tree/mas
29
28
30
29
* How to create React class components
31
30
* How to pass props from parent to child
32
-
* How to use **HydrateProps()** and **HydrateState()**
31
+
* How to use **UnmarshalProps()** and **UnmarshalState()**
33
32
* How to use **state()** and **setState()**
34
33
* How to create strongly-typed structured props and states
35
34
@@ -41,19 +40,17 @@ The examples can be [found here](https://github.com/rocketlaunchr/react/tree/mas
41
40
42
41
## Performance Tips
43
42
44
-
* Use `-m` command line flag to instruct gopher.js to minify code. Then minify further with [Webpack/UglifyJS](https://github.com/gopherjs/gopherjs/issues/136). A Webpack tutorial can be [found here](https://medium.com/ag-grid/webpack-tutorial-understanding-how-it-works-f73dfa164f01).
43
+
* Use `-m` command line flag to instruct gopher.js to minify code. Then bundle+minify further with[Rollup.js](https://rollupjs.org) xor[Webpack/UglifyJS](https://github.com/gopherjs/gopherjs/issues/136). A Webpack tutorial can be [found here](https://medium.com/ag-grid/webpack-tutorial-understanding-how-it-works-f73dfa164f01).
0 commit comments