git ssb

1+

dinoworm ๐Ÿ› / catstack



Tree: 2feb98c1e6e7d51eb76ec441dc2a134829471edd

Files: 2feb98c1e6e7d51eb76ec441dc2a134829471edd / app / todos / container.js

377 bytesRaw
1import React from 'react'
2import { connect } from 'react-redux'
3
4import actions from './actions'
5
6class TodosContainer extends React.Component {
7 static fetchData = (getState, dispatch, location, params) => {
8 return dispatch(actions.find())
9 }
10
11 render () {
12 return <div>
13 todo list!
14 </div>
15 }
16}
17
18export default connect(
19 (state) => ({})
20)(TodosContainer)
21

Built with git-ssb-web