Creating a custom component

Components let us split our app UI into independent, reusable pieces. We use the ever popular Facebook React framework. React.Component is an abstract base class, so we will typically subclass it, and define a render() method. (More information on that here.)

Here is the code for a somewhat complex custom component (written in Typescript):

A boilerplate project for writing custom page components can be found here: https://github.com/manywho/ui-custom-component

Check out: