When the CommentBox is rendered the componentDidMount method is called. Added an Ajax request to the server to retrieve the updated dataset and changed the components' state to the newly updated data. Change your comments.json content and refresh the browser to see changes.
When the CommentBox is rendered the componentDidMount method is called. Added an Ajax request to the server to retrieve the updated dataset and changed the components' state to the newly updated data. Change your comments.json content and refresh the browser to see changes.

jcfausto/reactjs-comment-box,jcfausto/reactjs-comment-box,jcfausto/reactjs-comment-box