This repository has been archived by the owner on Jan 27, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed structure of todos example to be more similar to redux's example
- Loading branch information
Showing
18 changed files
with
30 additions
and
21 deletions.
There are no files selected for viewing
This file contains 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
9 changes: 3 additions & 6 deletions
9
examples/todos/src/App/App.js → examples/todos/src/App/containers/App.js
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
export { default as App } from './App' | ||
export { default as reducer } from './reducer' | ||
export { default as App } from './containers/App' | ||
export { default as reducer } from './reducers' |
4 changes: 2 additions & 2 deletions
4
examples/todos/src/App/reducer.js → examples/todos/src/App/reducers/index.js
This file contains 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
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
examples/todos/src/Footer/Footer.js → ...les/todos/src/Footer/components/Footer.js
This file contains 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
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
examples/todos/src/Footer/FilterLink.js → ...todos/src/Footer/containers/FilterLink.js
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
export { default as Footer } from './Footer' | ||
export { default as reducer } from './reducer' | ||
export { default as Footer } from './components/Footer' | ||
export { default as reducer } from './reducers' |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import React from 'react' | ||
import AddTodo from '../containers/AddTodo' | ||
import VisibleTodoList from '../containers/VisibleTodoList' | ||
|
||
const TodoApp = ({ filter }) => ( | ||
<div> | ||
<AddTodo /> | ||
<VisibleTodoList filter={filter} /> | ||
</div> | ||
) | ||
|
||
export default TodoApp |
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
examples/todos/src/Todos/AddTodo.js → ...les/todos/src/Todos/containers/AddTodo.js
This file contains 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
4 changes: 2 additions & 2 deletions
4
examples/todos/src/Todos/VisibleTodoList.js → ...s/src/Todos/containers/VisibleTodoList.js
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
export { default as AddTodo } from './AddTodo' | ||
export { default as VisibleTodoList } from './VisibleTodoList' | ||
export { default as reducer } from './reducer' | ||
export { default as TodoApp } from './components/TodoApp' | ||
export { default as reducer } from './reducers' |
File renamed without changes.