…specifically React 0.13 using ES6 class syntax
Originally I was implementing the validator as a context, but then I got stung by parent context vs owner context. I'll likely return to the context model when React's context implementation is more final (looks like they're moving towards parent context over owner context, which I'd prefer).
- markup must match our existing markup, for UX consistency.
- inputs are re-usable components with an explicit contract -- they are responsponsible for their error display and any required filtering of their value.