Add a view helper to render react component