React port of dumafajee