We should add a helper that renders JSX to a string. We should only add this helper if it's possible to make the React dependency optional.