Simple Painter in ReactJS — useContext, useState

A simple painter, where you pick a color from a set of preselected ones. And then paint a grid cell with that color. We will be using React Hooks, more specifically useContext and useState. Context will give our components a context of color, which can be set via useState hook.

Photo by Eddy Klaus on Unsplash