import React from 'react' import { injectState } from 'freactal' import app from '../components/app' const Index = injectState(({ state: { ajaxStatus, githubReposList }, effects }) => { const fetchMore = () => effects.fetchGithubReposList(githubReposList.username, githubReposList.page + 1) return (

{`List of @${githubReposList.username}'s repositories`}

{githubReposList.repos.map((repo) => ( ))}
name watchers stars forks
{repo.name} {repo.watchers_count} {repo.stargazers_count} {repo.forks_count}
 
) }) export default app(Index)