# React Rails Example:
-
Root “/”
Component 1 'Message' : A Hello World example, passing props. Component 2 'CommentBox' : Set timer to change the text after 2 seconds
-
“/posts”
Component 'Post': One way to display components from database.
# React Rails Example:
Root “/”
Component 1 'Message' : A Hello World example, passing props. Component 2 'CommentBox' : Set timer to change the text after 2 seconds
“/posts”
Component 'Post': One way to display components from database.