Created
January 31, 2017 00:41
-
-
Save DreySkee/b60b3e9b7570ec1cf4b61c42d73b5dae to your computer and use it in GitHub Desktop.
11 - Wordpress API + ReactJS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import DataStore from './../stores/DataStore.js'; | |
class Home extends React.Component { | |
render() { | |
let allData = DataStore.getAll(); | |
console.log(allData); | |
return ( | |
<div> | |
<h1>Hello World</h1> | |
</div> | |
); | |
} | |
} | |
export default Home; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment