Using Flow to check prop types of stateless functional components

suggest change
type Props = {
  posts: Array<Article>,
  dispatch: Function,
  children: ReactElement
}

const AppContainer =
  ({ posts, dispatch, children }: Props) => (
    <div className="main-app">
      <Header {...{ posts, dispatch }} />
      {children}
    </div>
  )

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:


Using React with Flow:
*Using Flow to check prop types of stateless functional components

Table Of Contents