This is a refactored version of tictacreact that uses functional components instead of class components
This is based on the React Tutorial: Intro to React
Code is transpiled from Python 3.9 to JavaScript using Transcrypt
pip install transcrypt
To build with non-minified js and python source maps:
transcrypt --nomin --build --map tictacreact.py
The code style here uses the approach outined in this blog post, but more references can be found on the React to Python site.
Live demo: https://jennasys.github.io/tictacreact2/