private void RenderIfActive()
 {
     React.Render(
         DOM.div(
             null,
             DOM.h1(null, "React in DuoCode"),
             DOM.span(new HTMLAttributes {
         className = "time"
     }, _viewModel.LastUpdated),
             DOM.input(new InputAttributes {
         className = "message", value = _viewModel.Message, onChange = ev => UpdateMessage(ev.target.value)
     }),
             DOM.span(new HTMLAttributes {
         className = "error"
     }, _viewModel.ValidationError)
             ),
         _renderContainer
         );
 }