November 2017
Beginner
294 pages
6h 55m
English
React VR has reusable UI elements that you can use in a variety of places. These are called components. There are two built-in components:
You can also build your own components by extending React.Component.
Components are real things, not just labels or placeholders, as they have been built in ways to present themselves through the world via a render() function. This is not just a function; like everything with React VR, render() generally has a set of child components that render or describe it's contents. An example of a component could be as follows:
<Greeting/>
This would be a text component, a built-in type.
Read now
Unlock full access