The intention is to wrap components using withCopyEdit and to use
a 'mode' prop to control view/edit/copy/paste mode.
Next steps to unpack form field data components and update in eaech
category container.
- 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