- building-view contained BuildingVIew and withCopyEdit
- and imported each data-container
- which each imported withCopyEdit to create their data-container
seemed okay from ts/webpack dev environment
but failed in jest test
Fields/children will be written as components, rather than generated declaratively.
BuildingEdit will be folded into the withCopyEdit higher-order-component,
hopefully removing some duplicated structure and functionality.
- EditForm owns form state
- fully uncontrolled component
- when props change (e.g. when clicking on another building) the
component should completely re-render