Using Flow to check prop types

suggest change
import React, { Component } from 'react';

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

class Posts extends Component {
  props: Props;

  render () {
    // rest of the code goes here
  }
}

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

Table Of Contents