React rendering from PHP