by Ossi Hanhinen, @ohanhi
with the support of Futurice 💚.
Licensed under CC BY 4.0.
'use strict'; | |
var React = require('react'), | |
PureRenderMixin = require('../mixins/PureRenderMixin'), | |
getSupportedTransformProperty = require('../utils/getSupportedTransformProperty'), | |
{ PropTypes, Children } = React; | |
const transformProperty = getSupportedTransformProperty(); | |
const styles = { | |
root: { |
This document is a collection of concepts and strategies to make large Elm projects modular and extensible.
We will start by thinking about the structure of signals in our program. Broadly speaking, your application state should live in one big foldp
. You will probably merge
a bunch of input signals into a single stream of updates. This sounds a bit crazy at first, but it is in the same ballpark as Om or Facebook's Flux. There are a couple major benefits to having a centralized home for your application state: