Frying tofu is a bit tricky. Make sure to press excess moisture out of it or you'll get glop that sticks to the pan. I've had OK results dusting the pieces with cornstarch after that but I still haven't quite got the hang of it. Getting the oil temperature right has been a problem for me.
no subject