In this repo you'll learn how to setup a ERC721 contract starting from Remix's @cloudflare/pages template. You will find the use of state machines to control state flow of the transaction sent to the blockchain. You will also see that the use of React's useState is minimal and instead the use Jotai which is an implementation of signals for React, including atoms states and derived states from those atoms.
In this demo you can see the Animatronik creation flow and also see a page where all of them are showcased - demo