myitcv.io/react upgraded to React 16
Following the release of React 16.2.0
,
myitcv.io/react
has been upgraded to bundle React 16 by default. Per the
README, React 15 support is being maintained on a
branch.
Support is also included for Fragments:
“A common pattern in React is for a component to return multiple elements. Fragments let you group a list of children without adding extra nodes to the DOM.”
Here is an example of a react.Fragment
being used:
func (a AppDef) Render() react.Element {
return react.Fragment(
react.H1(nil,
react.S("Hello World"),
),
react.P(nil,
react.S("This is my first GopherJS React App."),
),
)
}
Please raise any issues on Github.