Usage shows why And exactly how you'd probably use this API in observe, similar to a colleague or a colleague could describe. It shows the canonical situations for the way Each individual API was intended for use through the React crew. once the button is clicked, React will phone the onClick function handler that is outlined in Square’s render(