Skip to content

Instantly share code, notes, and snippets.

@wwwillchen
Created July 6, 2015 01:39
Show Gist options
  • Save wwwillchen/e4f5a7b6aedcef911290 to your computer and use it in GitHub Desktop.
Save wwwillchen/e4f5a7b6aedcef911290 to your computer and use it in GitHub Desktop.
import React from 'react';
import TodoApp from './TodoApp';
import { createRedux } from 'redux';
import { Provider } from 'redux/react';
import * as stores from '../stores';
const redux = createRedux(stores);
export default class App {
render() {
return (
<Provider redux={redux}>
{() => <TodoApp />}
</Provider>
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment