Component
A function that takes inputs (props and state) and returns a description of some UI.
Think of it as A stamp: same inputs, same picture.
In React-lua a component returns elements made with React.createElement. Because the same props and state always give the same elements, components are easy to test and reuse. Beacon Yard's React-lua shop is mounted by ShopGui and built from ShopApp and ShopButton.