diff --git a/pom.xml b/pom.xml
index 154528a..6f308c1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -9,7 +9,7 @@
${packaging.type}
- scm:git:TOFILL
+ scm:git:https://github.com/Febbweiss/springboot-react-webpack
diff --git a/src/main/resources/static/js/comment_list.jsx b/src/main/resources/static/js/comment_list.jsx
new file mode 100644
index 0000000..799b63d
--- /dev/null
+++ b/src/main/resources/static/js/comment_list.jsx
@@ -0,0 +1,18 @@
+import React from 'react';
+import Comment from './comment.jsx';
+
+const CommentList = function (props) {
+ const commentNodes = props.data.map(function*(comment) {
+ return (
+ {comment.text}
+ );
+ });
+ return (
+
+ {commentNodes}
+
+ );
+};
+CommentList.propTypes = {
+ data: React.PropTypes.node,
+};