State-management tutorial
In this tutorial we will build a simple calculator where you can apply basic arithmetic operations to two numbers at a time. We will create HTML markup using JSX, style it with CSS and use the client-side built into gg to implement the functionality.
You can take a look at the final application here.
There also is a GitHub repository containing the code for the final website. Each commit of this repository contains exactly the changes of the relates step in this tutorial.
So if you need a better look at the changes we will do in a particular step, just open up the related commit. There is also a link at the top of each page of this tutorial that links to the relevant commit.
At last, make sure that you have properly set up gg on your machine. See the Getting started page for more details.
Next → Creating the markup