Add Redux and use it for state management

This commit is contained in:
riggraz
2019-09-11 18:30:59 +02:00
parent db4c1445ba
commit 8d9ab0f717
22 changed files with 656 additions and 246 deletions

View File

@@ -2,11 +2,11 @@ import * as React from 'react';
import PostListItem from './PostListItem';
import IPost from '../../interfaces/IPost';
import IPostJSON from '../../interfaces/json/IPost';
import IBoard from '../../interfaces/IBoard';
interface Props {
posts: Array<IPost>;
posts: Array<IPostJSON>;
boards: Array<IBoard>;
}