Skip to content

Instantly share code, notes, and snippets.

View Gpx's full-sized avatar

Giorgio Polvara Gpx

View GitHub Profile
// @flow
import React from 'react'
import { fetchUsers, type User } from '../api/users'
type Props = { fetchUsers: typeof fetchUsers }
type State = { users: ?Array<User>}
class SmartComponent extends React.Component<Props, State> {