Skip to content

Instantly share code, notes, and snippets.

@gcanti
gcanti / beginnerProgram.js
Created July 3, 2016 10:13
Elm architecture with Flow + react + redux
// @flow
import ReactDOM from 'react-dom'
import React from 'react'
import type { Component, Element } from 'react'
import { createStore } from 'redux'
type ReduxInitAction = { type: '@@redux/INIT' };
type MsgShape = { type: any };