Rohn Blake's Portfolio


Rohn Blake's Portfolio

ReactJS Blog Posts Component

8th April 2015

A ReactJS component for displaying a list of blog posts, suitable for use in a sidebar on a homepage.

The component is very easy to use, after including the necessary Javascript files in your html, simply add a div specifying the blog and number of posts to display.

<div id="blogPosts" data-url='' data-posts='3'></div>  

The component is using jQuery to make the ajax call.

Blog Posts List

Source: on github

rohn blake

rohn blake

View Comments