I am new to React.js and one question I have is - Is it necessary to unmount a React Modal view before re-rendering it.
I am trying to call a react modal view as below. The modal shows up only the first time. But if the modal is unmounted before this render function is called, the Modal shows up.
render: function(options) {
React.renderComponent(<ModalView id="ModalView"
model={this.model}/>,$("#"+this.viewId)[0]);
},
Thanks.