Some helpful React stuff.